Add method overloads to be friendlier with questions and actions returning Task #133
Closed
4 tasks done
Labels
Milestone
Some methods across the application do not play nice with asynchronous programming.
For instance the Then method takes an
Action<T>
to assert the result. With asynchronous programming, the consumer receives a Task, which he needs toawait
before making the assertion. This is unnecessary and could be done by theThen
method itself.Then
overload or extension method that awaits the result ofTask<T>
and pass it to the assertion actionSelect
overload that unwrap the value from the taskSelectMany
overload that unwrap the value from the taskThe text was updated successfully, but these errors were encountered: