Skip to content

The Task.Wait note should be copied to Task.WaitAsync #11202

Open
@antonfirsov

Description

@antonfirsov

See dotnet/runtime#114689 (comment).

Also nice to have:

  • Improve the visibility of the notes if possible.
  • Mention that exceptions may leak to TaskScheduler.UnobservedTaskException .
  • The example should demonstrate how to observe and log exceptions.
  • The Task.Wait example can be shortened and modernized (eg. why to start a Thread to cancel a CancellationTokenSource ?)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy