Blur v0.2.1-beta3 Blur.Channels View Source

Link to this section Summary

Functions

Add channel

Get the list of channels, with their process

Returns a specification to start this module under a supervisor.

Delete channel

Find channel

Link to this section Functions

Specs

add(pid(), channel :: binary()) :: :ok

Add channel

Specs

channels(pid :: GenServer.server()) :: [{binary(), GenServer.server()}]

Get the list of channels, with their process

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

delete(pid(), channel :: binary()) :: :ok

Delete channel

Specs

find(pid(), channel :: binary()) :: [{binary(), GenServer.server()}]

Find channel