Table of Contents

Method WaitForOutboxPoisoned

Namespace
Ratatoskr.Testing
Assembly
Ratatoskr.Testing.dll

WaitForOutboxPoisoned<T>(TimeSpan?, Func<TrackedMessage, bool>?)

Waits for a message of the specified type to reach the OutboxPoisoned stage.

public Task<TrackedMessage> WaitForOutboxPoisoned<T>(TimeSpan? timeout = null, Func<TrackedMessage, bool>? predicate = null) where T : notnull

Parameters

timeout TimeSpan?
predicate Func<TrackedMessage, bool>

Returns

Task<TrackedMessage>

Type Parameters

T