View Source Envio (envio v1.0.0)

Main interface to Envio.

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

Summary

Functions

Link to this function

register(host, channels)

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