Slurp.Logs.LogFetcher (slurp v0.0.2)

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

blockchain_id()

Specs

blockchain_id() :: Slurp.Blockchains.Blockchain.id()

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.

Link to this function

new_head(id, block_number)

Specs

Link to this function

process_name(id)

Specs

process_name(blockchain_id()) :: atom()
Link to this function

start_link(list)

Specs

start_link(
  blockchain: blockchain(),
  subscriptions: [Slurp.Logs.LogFetcher.State.log_subscription()]
) :: GenServer.on_start()