Yggdrasil.handle_disconnect
You're seeing just the callback
handle_disconnect
, go back to Yggdrasil module for more information.
Specs
handle_disconnect(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 disconnections from a channel.