yggdrasil v3.3.2 Yggdrasil.Distributor.Publisher View Source

A server to distribute the messages.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Notifies synchronously of a new message coming from a channel_name to a publisher

Starts a server to distribute messages in a channel. Additionally can receive GenServer options

Stops a publisher

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function notify(publisher, channel_name, message) View Source

Notifies synchronously of a new message coming from a channel_name to a publisher.

Link to this function start_link(channel, options \\ []) View Source

Starts a server to distribute messages in a channel. Additionally can receive GenServer options.

Stops a publisher.