Method ExecuteAndWaitAsync
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)