Struct PushDispatch

Namespace: redb.Route.Core
Assembly: redb.Route.dll

The outcome of one dispatch, with the failure behind or a failed follow-up.

public readonly record struct PushDispatch : IEquatable<PushDispatch>

Implements

Properties

Failure

The route's failure (Rejected) or the follow-up's (Returned); null otherwise.

public Exception? Failure { get; init; }

Outcome

What became of the message.

public PushOutcome Outcome { get; init; }

Constructors

PushDispatch(PushOutcome, Exception?)

The outcome of one dispatch, with the failure behind or a failed follow-up.