View Source Spawn.Cluster.Node.Registry (spawn v2.0.0-RC5)

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

child_spec()

child_spec(arg)

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

is_alive?(mod, actor_name)

Check if Process is alive.

list_actor_pids(mod)

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

List all alive PIDs from given registry module.

lookup(mod, actor_name)

Get Process if this is alive.

update_entry_value(mod, actor_name, pid, value)

Update value meta inside registry