You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yield return AsyncActions.WaitForTask does not automatically propagate exceptions from the waited-for Task. Although in some cases, the Task is saved in a local variable and its .Result property is accessed (which will throw any saved exceptions), for consistency it seems better to never allow yield return AsyncActions.WaitForTask but instead save the action in a local variable, yield return that, then call .Verify or .Result on the action.
The text was updated successfully, but these errors were encountered:
yield return AsyncActions.WaitForTask
does not automatically propagate exceptions from the waited-forTask
. Although in some cases, theTask
is saved in a local variable and its.Result
property is accessed (which will throw any saved exceptions), for consistency it seems better to never allowyield return AsyncActions.WaitForTask
but instead save the action in a local variable,yield return
that, then call.Verify
or.Result
on the action.The text was updated successfully, but these errors were encountered: