Method Job
- Namespace
- Millrace.Storage.Verification
- Assembly
- Millrace.Storage.Verification.dll
Job(TimeProvider, JobState, string, int, string?, string?, JobId?, DateTimeOffset?, Retry?)
Builds a job record with everything defaulted except what a fact is about.
protected static JobRecord Job(TimeProvider time, JobState state = JobState.Enqueued, string queue = "default", int priority = 0, string? idempotencyKey = null, string? tenantId = null, JobId? parentId = null, DateTimeOffset? dueAt = null, Retry? retry = null)
Parameters
timeTimeProviderstateJobStatequeuestringpriorityintidempotencyKeystringtenantIdstringparentIdJobId?dueAtDateTimeOffset?retryRetry
Returns
Remarks
Defaults to None, so a fact that does not mention retries cannot have its outcome quietly changed by a retry it did not ask for.