Skip to content

ILocalDurableJobManager.ScheduleJobAsync(ScheduleJobRequest, CancellationToken)

ScheduleJobAsync(ScheduleJobRequest, CancellationToken)

abstract
public abstract Task<DurableJob> ScheduleJobAsync(ScheduleJobRequest request, CancellationToken cancellationToken)
Schedules a job to be executed at a specific time on the target grain.

Parameters

requestScheduleJobRequest
The request containing the job scheduling parameters.
cancellationTokenCancellationToken
A cancellation token to cancel the operation.

Returns

A System.Threading.Tasks.Task representing the asynchronous operation that returns the durable job.