Struct StaleJobSearchParams<TStorageRecord>
a dto representing search parameters for matching stale job storage records
Inherited Members
Namespace: FastEndpoints
Assembly: FastEndpoints.dll
Syntax
public struct StaleJobSearchParams<TStorageRecord> where TStorageRecord : IJobStorageRecord
Type Parameters
| Name | Description |
|---|---|
| TStorageRecord | the type of storage record |
Properties
CancellationToken
cancellation token
Declaration
public readonly CancellationToken CancellationToken { get; }
Property Value
| Type | Description |
|---|---|
| CancellationToken |
Match
a boolean lambda expression to match stale job records
r => r.IsComplete || r.ExpireOn <= DateTime.UtcNow
Declaration
public readonly Expression<Func<TStorageRecord, bool>> Match { get; }
Property Value
| Type | Description |
|---|---|
| Expression<Func<TStorageRecord, bool>> |