Struct StaleRecordSearchParams<TStorageRecord>
a dto representing search parameters for matching stale event storage records
Inherited Members
Namespace: FastEndpoints
Assembly: FastEndpoints.Messaging.Remote.Core.dll
Syntax
public struct StaleRecordSearchParams<TStorageRecord> where TStorageRecord : IEventStorageRecord
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 records
r => r.IsComplete || DateTime.UtcNow >= r.ExpireOn
Declaration
public readonly Expression<Func<TStorageRecord, bool>> Match { get; }
Property Value
| Type | Description |
|---|---|
| Expression<Func<TStorageRecord, bool>> |