Yggdrasil.handle_connect
You're seeing just the callback
handle_connect
, go back to Yggdrasil module for more information.
Specs
handle_connect(Yggdrasil.Channel.t(), state) :: {:ok, state} | {:subscribe, [Yggdrasil.Channel.t()], state} | {:unsubscribe, [Yggdrasil.Channel.t()], state} | {:stop, reason, state} when state: term(), reason: term()
Callback to handle connection to channels.