14 lines
354 B
Elixir
14 lines
354 B
Elixir
|
defmodule Home73kWeb.LiveHelpers do
|
||
|
@doc """
|
||
|
Performs the {:noreply, socket} for a given socket.
|
||
|
This helps make the noreply pipeable
|
||
|
"""
|
||
|
def live_noreply(socket), do: {:noreply, socket}
|
||
|
|
||
|
@doc """
|
||
|
Performs the {:ok, socket} for a given socket.
|
||
|
This helps make the ok reply pipeable
|
||
|
"""
|
||
|
def live_okreply(socket), do: {:ok, socket}
|
||
|
end
|