Poolder.Dispatcher.Default (Poolder v0.1.10)

View Source

Summary

Functions

Sends a message to all registered pids in a group

Sends a synchronous call to a specific pid

Performs a guarded call to a pid under specific group

Sends an asynchronous message to a specific pid

Sends a guarded asynchronous message to a pid in a group

Returns the number of active workers in the given group

Returns the number of active workers in all groups

Returns a list of all active workers in the given group

Returns a list of all active workers and their groups

Functions

broadcast(group, msg)

Sends a message to all registered pids in a group

call(pid, msg, timeout \\ 5000)

Sends a synchronous call to a specific pid

call(group, pid, msg, timeout)

Performs a guarded call to a pid under specific group

cast(pid, msg)

Sends an asynchronous message to a specific pid

cast(group, pid, msg)

Sends a guarded asynchronous message to a pid in a group

count(group \\ :default)

Returns the number of active workers in the given group

count_all()

Returns the number of active workers in all groups

list(group \\ :default)

Returns a list of all active workers in the given group

list_all()

Returns a list of all active workers and their groups