Yggdrasil.Transformer.decode

You're seeing just the callback decode, go back to Yggdrasil.Transformer module for more information.
Link to this callback

decode(channel, message)

View Source

Specs

decode(channel :: Yggdrasil.Channel.t(), message :: term()) ::
  {:ok, term()} | {:error, term()}

Callback to define how to decode the messages coming from a channel.