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
Folks might accidentally pass an async lambda that doesn't accept a cancellation token and the compiler will treat it as async void, which will in turn be treated as a synchronous action by System.Commandline. Many places in our API we treat CancellationToken as optional, we should do so here. Please add overloads that accept Func returning Task without a cancellation token.
The text was updated successfully, but these errors were encountered:
Folks might accidentally pass an async lambda that doesn't accept a cancellation token and the compiler will treat it as async void, which will in turn be treated as a synchronous action by System.Commandline. Many places in our API we treat CancellationToken as optional, we should do so here. Please add overloads that accept Func returning Task without a cancellation token.
The text was updated successfully, but these errors were encountered: