yggdrasil v3.0.2 Yggdrasil.Distributor.Publisher

A server to distribute the messages.

Summary

Functions

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

Functions

notify(publisher, channel_name, message)

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

start_link(channel, options \\ [])

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

stop(publisher)

Stops a publisher.