Plexus.Registry (Plexus v0.1.0)

Copy Markdown View Source

Run-scoped process addressing on a partitioned Registry.

Summary

Functions

lookup(run_id, actor_id)

@spec lookup(term(), term()) :: {:ok, pid()} | {:error, :not_found}

lookup_run(run_id)

@spec lookup_run(term()) :: {:ok, pid()} | {:error, :not_found}

run_id(pid)

@spec run_id(pid()) :: {:ok, term()} | {:error, :not_found}

via(run_id, actor_id)

@spec via(term(), term()) :: {:via, Registry, {module(), term()}}