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
The returned task will always end in the RanToCompletion state with its Result set to the first task to complete. The result value is true even if the first task to complete ended in the Canceled or Faulted state.
This seems wrong. The result value isn't true - it's the first task to complete, as it just said.
I think it should say:
The returned task will always end in the RanToCompletion state with its Result set to the first task to complete. This is true even if the first task to complete ended in the Canceled or Faulted state.
Type of issue
Typo
Description
Several times in this article it says:
The returned task will always end in the RanToCompletion state with its Result set to the first task to complete. The result value is true even if the first task to complete ended in the Canceled or Faulted state.
This seems wrong. The result value isn't
true
- it's the first task to complete, as it just said.I think it should say:
The returned task will always end in the RanToCompletion state with its Result set to the first task to complete. This is true even if the first task to complete ended in the Canceled or Faulted state.
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.whenany?view=net-9.0
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Threading.Tasks/Task.xml
Document Version Independent Id
6c1ba1c9-bbea-708d-1acb-992ffe03ee26
Platform Id
8a4a84a5-87ed-1449-b986-da7f74c7fb58
Article author
@dotnet-bot
The text was updated successfully, but these errors were encountered: