Logo FsShelter

ClusterDeps<'t> Type

External capabilities the cluster supervisor depends on. `Supervisor.runCluster` wires these to their production defaults; tests (and alternate hosts) can supply `runClusterWith` directly.

Record fields

Record Field Description

CreateTransport

Full Usage: CreateTransport

Field type: (LogLevel -> (unit -> string) -> unit) -> PeerId -> PeerEndpoint -> int -> int -> PeerTransport
Field type: (LogLevel -> (unit -> string) -> unit) -> PeerId -> PeerEndpoint -> int -> int -> PeerTransport

LoadOrCreatePeerId

Full Usage: LoadOrCreatePeerId

Field type: string -> Result<PeerId, StoreError>
Field type: string -> Result<PeerId, StoreError>

LoadPeersCache

Full Usage: LoadPeersCache

Field type: string -> Result<PeerEndpoint list, StoreError>
Field type: string -> Result<PeerEndpoint list, StoreError>

NowMs

Full Usage: NowMs

Field type: unit -> int64
Field type: unit -> int64

RunTopology

Full Usage: RunTopology

Field type: (int -> Log) -> Topology<'t> -> unit -> unit
Field type: (int -> Log) -> Topology<'t> -> unit -> unit

SavePeersCache

Full Usage: SavePeersCache

Field type: string -> PeerEndpoint list -> Result<unit, StoreError>
Field type: string -> PeerEndpoint list -> Result<unit, StoreError>

Type something to start searching.