Skip to main content

DrbCancelMap

Type Alias DrbCancelMap 

Source
type DrbCancelMap = HashMap<EpochNumber, CancellationToken>;
Expand description

Cancellation tokens for in-flight DRB computations. When an external source supplies the DRB result for epoch (e.g. a decided leaf carrying next_drb_result), supply_drb fires the token so the local computation can stop early instead of grinding to completion.

Aliased Typeยง

struct DrbCancelMap { /* private fields */ }