TaskExecutionControl constructor
const
TaskExecutionControl({
- void heartbeat() = _noopHeartbeat,
- Future<
void> extendLease(- Duration by
- Future<
void> progress(}) = _noopProgress, - TaskCancellationToken cancellation = const TaskCancellationToken.none(),
- TaskEnqueuer? enqueuer,
- WorkflowCaller? workflows,
- WorkflowEventEmitter? workflowEvents,
Creates execution controls for the current delivery runtime.
Implementation
const TaskExecutionControl({
this.heartbeat = _noopHeartbeat,
this.extendLease = _noopExtendLease,
this.progress = _noopProgress,
this.cancellation = const TaskCancellationToken.none(),
this.enqueuer,
this.workflows,
this.workflowEvents,
});