observeRequired
(event: Observation | WorkflowEvent) => void
Accept an Observation envelope as an ObservationSink, or a historical WorkflowEvent callback. Envelopes route workflow, dispatch and operation activity to spans and metrics. Wire only one delivery path per execution to avoid double counting.
sinkRequired
ObservationSink
Hub sink that turns observations into parented workflow, task, attempt, dispatch and operation spans plus the same metrics. Do not also pass this observer as telemetry to the same run: spans and metrics would be duplicated.
closeRequired
() => void
Ends every open workflow, task, attempt, dispatch and operation span as cancelled or failed. It does not flush or shut down the SDK.
startDispatchRequired
() => DispatchTelemetrySession
Start an independent session for one public dispatch invocation; called before validation.