Method ExecuteAsync
- Namespace
- Millrace.Invocations
- Assembly
- Millrace.dll
ExecuteAsync(JobRecord, CancellationToken)
Runs the job and returns the effects it asked to have committed with its own completion.
public Task<JobSideEffects> ExecuteAsync(JobRecord job, CancellationToken ct)
Parameters
jobJobRecordctCancellationToken
Returns
Remarks
The side-effect accumulator is resolved from the execution scope after the call, so a handler can describe a checkpoint or follow-on jobs without being able to commit anything itself — the worker folds them into the terminal transition.