Method ContinueWithAsync
- Namespace
- Millrace
- Assembly
- Millrace.dll
ContinueWithAsync<T>(JobId, Expression<Func<T, Task>>, EnqueueOptions?, CancellationToken)
Runs after the parent job succeeds; cancelled (transitively) if the parent dies or is cancelled.
public ValueTask<JobId> ContinueWithAsync<T>(JobId parentId, Expression<Func<T, Task>> call, EnqueueOptions? options = null, CancellationToken ct = default) where T : class
Parameters
parentIdJobIdcallExpression<Func<T, Task>>optionsEnqueueOptionsctCancellationToken
Returns
Type Parameters
T