Crux vdev Crux.Base View Source

TODO: Write me

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Computes a map of all producers keyed by shard_id.

Link to this section Types

Link to this type

options() View Source
options() ::
  %{gateway: Crux.Gateway.gateway(), cache_provider: module()}
  | [{:gateway, Crux.Gateway.gateway()}]

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

producers(base) View Source
producers(base :: Supervisor.name()) :: %{required(pos_integer()) => pid()}

Computes a map of all producers keyed by shard_id.

Link to this function

start_link(options) View Source
start_link(opts :: options() | {options(), GenServer.options()}) ::
  Supervisor.on_start()