ScheduleAsync(DurableTask<TResult>, CancellationToken)
staticextension
public static Task<ScheduledTask<TResult>> ScheduleAsync<TResult>(this DurableTask<TResult> task, CancellationToken cancellationToken = default(CancellationToken)) Starts the task and returns its handle once the task's host has accepted and durably stored the task.
Parameters
taskDurableTask<TResult>- A token which abandons the start. It doesn't cancel the task.
cancellationTokenCancellationToken
Returns
The task's handle, whose
ScheduledTask addresses the task.