ViaUtils.Comms (via_utils v0.2.0) View Source

Link to this section Summary

Link to this section Functions

Link to this function

cast_global_msg_to_group(operator_name, message, sender, group \\ nil)

View Source

Specs

cast_global_msg_to_group(atom(), any(), any(), any()) :: atom()
Link to this function

cast_local_msg_to_group(operator_name, message, sender, group \\ nil)

View Source

Specs

cast_local_msg_to_group(atom(), any(), any(), any()) :: atom()

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

deliver_msg_to_group(operator_name, delivery_method, message, sender, group, global_or_local)

View Source
Link to this function

get_group_members(groups, group, global_or_local)

View Source
Link to this function

is_in_group?(group, pid)

View Source
Link to this function

join_group(operator_name, group)

View Source
Link to this function

join_group(operator_name, group, process_id)

View Source
Link to this function

leave_group(operator_name, group)

View Source
Link to this function

leave_group(operator_name, group, process_id)

View Source
Link to this function

send_global_msg_to_group(operator_name, message, sender, group \\ nil)

View Source

Specs

send_global_msg_to_group(atom(), any(), any(), any()) :: atom()
Link to this function

send_local_msg_to_group(operator_name, message, sender, group \\ nil)

View Source

Specs

send_local_msg_to_group(atom(), any(), any(), any()) :: atom()

Specs

start_operator(atom()) :: {:error, any()} | {:ok, pid()} | {:ok, pid(), any()}

See ViaUtils.Comms.Supervisor.start_operator/1.

Link to this function

start_unsupervised_operator(name, refresh_groups_interval_ms \\ 1000)

View Source

Specs

start_unsupervised_operator(atom(), integer()) :: tuple()