Runtime context passed to activities declared with context: true.
Use heartbeat/2 to persist bounded progress and cancelled?/1 between
chunks of external work to cooperate with workflow cancellation.
Summary
Functions
Returns true when the run was cancelled or this worker lost its task lease.
Persists the latest progress details using the activity task's lease fence.
Types
@type t() :: %Continuum.Activity.Context{ attempt: pos_integer(), instance: Continuum.Runtime.Instance.t(), lease_owner: binary() | nil, mode: :durable | :inline, run_id: binary(), task_id: binary() }
Functions
Returns true when the run was cancelled or this worker lost its task lease.
Persists the latest progress details using the activity task's lease fence.