Yggdrasil v5.0.0 Yggdrasil.Channel View Source

Channel struct definition.

The attributes are defined as follows:

  • name - Name of the channel.
  • transformer - Module where the encoding or decoding function is defined.
  • adapter - Module where the adapter is defined or identifier.
  • namespace - Namespace of the adapter.
  • backend - Distributor backend.
  • metadata - Metadata for the channel. Used internally.

Link to this section Summary

Types

t()

Channel.

Functions

Channel struct definition.

Link to this section Types

Link to this type

t() View Source
t() :: %Yggdrasil.Channel{
  adapter: module(),
  backend: module(),
  metadata: term(),
  name: any(),
  namespace: atom(),
  transformer: module()
}

Channel.

Link to this section Functions

Link to this function

%Yggdrasil.Channel{} View Source (struct)

Channel struct definition.