envio v0.4.0 Envio View Source

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
register(atom() | {atom(), atom()}, [
  {atom(), %Envio.Channel{name: term(), source: term()}}
]) ::
  :ok
  | {:error,
     {:already_registered, %Envio.Channel{name: term(), source: term()}}}