ViaUtils.Comms (via_utils v0.1.0) View Source

Link to this section Summary

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

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)

View Source

Specs

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

send_global_msg_to_group(operator_name, message, group, sender)

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)

View Source

Specs

send_local_msg_to_group(atom(), tuple(), any()) :: atom()
Link to this function

send_local_msg_to_group(operator_name, message, group, sender)

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()