roulette v1.0.1 Roulette.Registry

Link to this section Summary

Link to this section Functions

Link to this function lookup(module, consumer, topic)
lookup(module(), pid(), String.t()) ::
  {:ok, pid()} |
  {:error, :not_found}
Link to this function name(module)
name(atom()) :: atom()
Link to this function register(module, consumer, topic)
register(module(), pid(), String.t()) ::
  {:ok, pid()} |
  {:error, {:already_registered, pid()}}