Table of Contents

Method WaitForInboxDispatched

Namespace
Ratatoskr.Testing
Assembly
Ratatoskr.Testing.dll

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

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

public Task<TrackedMessage> WaitForInboxDispatched<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