View Source Envio (envio v0.10.1)

Main interface to Envio.

Provides handy functions to publish messages, subscribe to messages, etc.

Link to this section Summary

Link to this section Functions

Link to this function

register(host, channels)

View Source

Specs

register(atom() | {atom(), atom()}, [{atom(), Envio.Channel.t()}]) ::
  :ok | {:error, {:already_registered, Envio.Channel.t()}}