Yggdrasil v4.1.5 Yggdrasil.Subscriber.Adapter behaviour View Source

Subscriber adapter behaviour.

Link to this section Summary

Functions

Use to implement Yggdrasil.Subscriber.Adapter behaviour

Generic subscriber adapter starter that receives a channel, a publisher and an optional GenServer options

Generic subscriber adapter stopper that receives the pid

Callbacks

Callback to start a subscriber with a channel, a publisher and some GenServer options

Link to this section Functions

Use to implement Yggdrasil.Subscriber.Adapter behaviour.

Generic subscriber adapter starter that receives a channel, a publisher and an optional GenServer options.

Generic subscriber adapter stopper that receives the pid.

Link to this section Callbacks

Link to this callback start_link(channel, options) View Source
start_link(channel :: Yggdrasil.Channel.t(), options :: GenServer.options()) ::
  GenServer.on_start()

Callback to start a subscriber with a channel, a publisher and some GenServer options.