Simplificator3000Phoenix.Channel.ChannelHelpers
(Simplificator3000 Phoenix v1.9.0)
Functions
@spec error_reply(Phoenix.Socket.t() | Phoenix.Channel.socket_ref(), Keyword.t()) ::
{:noreply, Phoenix.Socket.t()}
| {:noreply, Phoenix.Socket.t(), timeout() | :hibernate}
| {:reply, Phoenix.Channel.reply(), Phoenix.Socket.t()}
| {:stop, reason :: term(), Phoenix.Socket.t()}
| {:stop, reason :: term(), Phoenix.Channel.reply(), Phoenix.Socket.t()}
| :ok
@spec success_reply(
Phoenix.Socket.t() | Phoenix.Channel.socket_ref(),
any(),
Keyword.t()
) ::
{:noreply, Phoenix.Socket.t()}
| {:noreply, Phoenix.Socket.t(), timeout() | :hibernate}
| {:reply, Phoenix.Channel.reply(), Phoenix.Socket.t()}
| {:stop, reason :: term(), Phoenix.Socket.t()}
| {:stop, reason :: term(), Phoenix.Channel.reply(), Phoenix.Socket.t()}
| :ok