Hyperlinkv0.8.0-beta.28

ExecutionPlan

ExecutionPlan.CurrentMetadataconsteffect/ExecutionPlan.ts:411
Context.Reference<Metadata>

Context reference containing metadata for the currently running execution-plan attempt.

When to use

Use to read the active plan step and attempt while code is running under an execution plan.

metadata
export const CurrentMetadata = Context.Reference<Metadata>("effect/ExecutionPlan/CurrentMetadata", {
  defaultValue: constant({
    attempt: 0,
    stepIndex: 0
  })
})
Referenced by 1 symbols