ChannelClient.ChannelSupervisor (channel_client v0.2.0)

Copy Markdown

DynamicSupervisor owning all ChannelClient.Channel processes.

Started automatically by the ChannelClient application; channels are started through start_channel/4 and are :temporary — their lifetime is managed by the joining process, not this supervisor.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_channel(socket, topic, params, handler \\ nil)

start_link(opts \\ [])