Skip to content

DurableTaskExtensions.ScheduleAll(IEnumerable<DurableTask<TResult>>)

ScheduleAll(IEnumerable<DurableTask<TResult>>)

staticextension
View source
public static DurableTask<ScheduledTask<TResult>[]> ScheduleAll<TResult>(this IEnumerable<DurableTask<TResult>> tasks)
Creates a durable task which schedules every input task and returns their handles, in input order.

Parameters

tasksIEnumerable<DurableTask<TResult>>
The input tasks, which are captured when this method is called.

Returns

A combinator which, awaited within a durable execution, runs as part of that execution and returns each input's handle at its input index once the inputs are scheduled, without waiting for their results.