Class DelayProcessor

Assembly: redb.Route.dll

Delays processing by a specified duration. Supports cancellation.

public class DelayProcessor : IProcessor

Inheritance

Object→DelayProcessor

Implements

Properties

Delay

Gets the delay duration.

public TimeSpan Delay { get; }

Methods

Process(IExchange, CancellationToken)

Processes the exchange asynchronously.

public Task Process(IExchange exchange, CancellationToken ct = default)

Constructors

DelayProcessor(TimeSpan)

Creates a delay processor with the specified duration.