View Source nova_channel (nova v0.9.4)
Link to this section Summary
Link to this section Functions
-spec broadcast(Channel :: atom(), Topic :: list() | binary(), Message :: any()) -> ok.
-spec get_local_members(Channel :: atom()) -> [pid()].
-spec get_members(Channel :: atom()) -> [pid()].
-spec join(Channel :: atom()) -> ok.
-spec join(Channel :: atom(), Pid :: pid()) -> ok.
-spec leave(Channel :: atom()) -> ok | not_joined.
-spec leave(Channel :: atom(), Pid :: pid()) -> ok | not_joined.
-spec local_broadcast(Channel :: atom(), Topic :: list() | binary(), Message :: any()) -> ok.
-spec start() -> ok.