BPXE.Channel (bpxe v0.4.0)
BPXE.Channel provides basic functionality similar to pub/sub. A process can join a channel and start receiving messages and calls, and can leave a channel.
At the moment, it follows syn
's API closely but this might change in the future.
To list used channels, run mix bpxe.channel.list
Link to this section Summary
Link to this section Types
Link to this type
bad_pids()
Specs
bad_pids() :: [pid()]
Link to this type
group()
Specs
group() :: any()
Link to this type
intended_recipient_count()
Specs
intended_recipient_count() :: non_neg_integer()
Link to this type
replies()
Specs
Link to this type
reply()
Specs
reply() :: any()
Link to this section Functions
Link to this function
get_members(name)
Specs
Link to this function
join(name, pid \\ self())
Specs
Link to this function
leave(name, pid \\ self())
Specs
Link to this function
multi_call(name, message, timeout \\ 5000)
Specs
Link to this function
multi_call_reply(pid, reply)
Specs
Link to this function
publish(name, message)
Specs
publish(group(), any()) :: {:ok, intended_recipient_count()}