Slurp.Commander (slurp v0.0.10)
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
Link to this section Types
Link to this type
blockchain()
Specs
blockchain() :: Slurp.Blockchains.Blockchain.t()
Link to this type
log_subscription()
Specs
log_subscription() :: Slurp.Logs.LogSubscription.t()
Link to this type
new_head_subscription()
Specs
new_head_subscription() :: Slurp.NewHeads.NewHeadSubscription.t()
Link to this type
opt_node()
Specs
Link to this type
opt_order()
Specs
opt_order() :: {:order, list()}
Link to this type
opt_store()
Specs
opt_store() :: {:store_id, atom()}
Link to this type
opt_where()
Specs
opt_where() :: {:where, list()}
Link to this section Functions
Link to this function
blockchains(opts)
Specs
blockchains([opt_node() | opt_store() | opt_where() | opt_order()]) :: [ blockchain() ]
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
init(state)
Callback implementation for GenServer.init/1
.
Link to this function
log_subscriptions(opts)
Specs
log_subscriptions([opt_node() | opt_store() | opt_where() | opt_order()]) :: [ log_subscription() ]
Link to this function
new_head_subscriptions(opts)
Specs
new_head_subscriptions([opt_node() | opt_store() | opt_where() | opt_order()]) :: [new_head_subscription()]
Link to this function
start_blockchains(opts)
Specs
start_blockchains([opt_node() | opt_store() | opt_where()]) :: {started :: non_neg_integer(), started_already :: non_neg_integer()}
Link to this function
start_link(_)
Link to this function
stop_blockchains(opts)
Specs
stop_blockchains([opt_node() | opt_store() | opt_where()]) :: {stopped :: non_neg_integer(), stopped_already :: non_neg_integer()}