Yggdrasil.Transformer.encode

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

encode(channel, message)

View Source

Specs

encode(Yggdrasil.Channel.t(), term()) :: {:ok, term()} | {:error, term()}

Generic message encoder for a channel.