View Source Spawn.Cluster.Node.Registry (spawn v1.0.0-rc.24)

Defines a distributed registry for all process

Summary

Functions

Returns a specification to start this module under a supervisor. See Supervisor.

Check if Process is alive.

List all alive PIDs from given registry module.

Get Process if this is alive.

Update value meta inside registry

Functions

Returns a specification to start this module under a supervisor. See Supervisor.

Link to this function

is_alive?(mod, actor_name)

View Source

Check if Process is alive.

@spec list_actor_pids(module()) :: [pid()]

List all alive PIDs from given registry module.

Get Process if this is alive.

Link to this function

update_entry_value(mod, actor_name, pid, value)

View Source

Update value meta inside registry