envio v0.4.4 Envio.Channels View Source
Channels storage.
It manages all the channels currently existing in the system.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Default initialization callback (noop.)
Registers new channel
Starts a new channels bucket
Get list of active subscriptions
Link to this section Functions
Link to this function
child_spec(arg) View Source
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
init(state) View Source
Default initialization callback (noop.)
Link to this function
register(host, channels) View Source
Registers new channel.
Link to this function
start_link(opts \\ []) View Source
Starts a new channels bucket.
Link to this function
state() View Source
Get list of active subscriptions.