Slurp.NewHeads.NewHeadFetcher.State (slurp v0.0.10)

Link to this section Summary

Link to this section Types

Link to this type

blockchain()

Specs

blockchain() :: Slurp.Blockchains.Blockchain.t()
Link to this type

subscription()

Specs

subscription() :: mfa() | nil

Specs

t() :: %Slurp.NewHeads.NewHeadFetcher.State{
  blockchain: blockchain(),
  endpoint: String.t(),
  last_block_number: non_neg_integer() | nil,
  subscription: subscription()
}