Table of Contents

Method Schedule

Namespace
Millrace
Assembly
Millrace.dll

Schedule<T>(Expression<Func<T, Task>>, TimeSpan, EnqueueOptions?)

Adds a job that becomes claimable after delay.

public JobBatch Schedule<T>(Expression<Func<T, Task>> call, TimeSpan delay, EnqueueOptions? options = null) where T : class

Parameters

call Expression<Func<T, Task>>
delay TimeSpan
options EnqueueOptions

Returns

JobBatch

Type Parameters

T

Schedule<T>(Expression<Func<T, Task>>, DateTimeOffset, EnqueueOptions?)

Adds a job that becomes claimable at at.

public JobBatch Schedule<T>(Expression<Func<T, Task>> call, DateTimeOffset at, EnqueueOptions? options = null) where T : class

Parameters

call Expression<Func<T, Task>>
at DateTimeOffset
options EnqueueOptions

Returns

JobBatch

Type Parameters

T