Skip to main content

Module context

Module context 

Source
Expand description

Per-activity execution context, heartbeat, and cancellation handles. ActivityContext heartbeat, cancellation, attempt, and identifier support.

Structsยง

ActivityCancellationHandle
Internal handle used by the worker runtime to signal cooperative cancellation.
ActivityContext
Handler-facing context for one activity execution.
HeartbeatRequest
Heartbeat request emitted by ActivityContext::heartbeat.