Table of Contents

Method UpsertRecurringAsync

Namespace
Millrace
Assembly
Millrace.dll

UpsertRecurringAsync<T>(string, string, Expression<Func<T, Task>>, EnqueueOptions?, CancellationToken)

Creates or updates a cron definition (five-field vixie syntax, UTC). The recurring id is the definition's identity; IdempotencyKey is not supported here in 0.1 and throws.

ValueTask UpsertRecurringAsync<T>(string recurringId, string cron, Expression<Func<T, Task>> call, EnqueueOptions? options = null, CancellationToken ct = default) where T : class

Parameters

recurringId string
cron string
call Expression<Func<T, Task>>
options EnqueueOptions
ct CancellationToken

Returns

ValueTask

Type Parameters

T