esrom/ui/lib/ui_web/channels/morse_progress_channel.ex

8 lines
162 B
Elixir
Raw Normal View History

defmodule UiWeb.MorseProgressChannel do
use UiWeb, :channel
2019-07-31 11:16:53 +00:00
def join(channel_name, _params, socket) do
2019-07-31 12:29:55 +00:00
{:ok, %{channel: channel_name}, socket}
end
end