Skip to main content

TaskOutput

Type Alias TaskOutput 

Source
type TaskOutput = (EpochNumber, Result<EpochRootResult, EpochManagerError>);
Expand description

Output of a spawned DRB task. The leading EpochNumber tags the task with the epoch it was working on so EpochManager::next can update dedup state correctly even on the Err path.