Table of Contents

Method ExecuteAndWaitAsync

Namespace
Ratatoskr.Testing
Assembly
Ratatoskr.Testing.dll

ExecuteAndWaitAsync(Func<Task>)

Executes the action within a tracked session and waits for all expected completions. If no explicit wait conditions were added, returns the session immediately after the action completes.

public Task<MessageTrackingSession> ExecuteAndWaitAsync(Func<Task> action)

Parameters

action Func<Task>

Returns

Task<MessageTrackingSession>