Listex.Registry (Listex v0.1.0)

View Source

Maps a list id to the process holding that list.

Summary

Functions

Ids of every list currently held in a process on this node.

The :via tuple a list process registers itself under.

The pid holding list_id, or nil if no process is running for it.

Functions

list_ids()

@spec list_ids() :: [Listex.ID.t()]

Ids of every list currently held in a process on this node.

via(list_id)

@spec via(Listex.ID.t()) :: {:via, module(), {module(), Listex.ID.t()}}

The :via tuple a list process registers itself under.

whereis(list_id)

@spec whereis(Listex.ID.t()) :: pid() | nil

The pid holding list_id, or nil if no process is running for it.