ServoKit.ProcessRegistry (servo_kit v0.0.8) View Source

Registers and manages processes.

Link to this section Summary

Functions

Starts a unique registry.

Returns a standardized via-tuple for this registry.

Returns a PID or :undefined.

Link to this section Functions

Starts a unique registry.

Returns a standardized via-tuple for this registry.

iex> ProcessRegistry.via_tuple(SomeKey)
{:via, Registry, {ProcessRegistry, SomeKey}}

Returns a PID or :undefined.

iex> ProcessRegistry.whereis_name(SomeKey)
#PID<0.235.0>

iex> ProcessRegistry.whereis_name(OtherKey)
:undefined