View Source PipeHelpers
Pipe helpers are a set of simple helpers for elixir to help structure code with pipes.
installation
Installation
If available in Hex, the package can be installed
by adding pipe_helpers
to your list of dependencies in mix.exs
:
def deps do
[
{:pipe_helpers, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/pipe_helpers.
documentation
Documentation
The library is documented in the main module documentation.
Small example:
import PipeHelpers
# Example in a live view
@impl true
def mount(_params, _session, socket) do
socket
|> assign(loading: true)
|> ok()
end