Skip to content

Why this guidance? #6373

Closed
Closed
@lant3rn1969

Description

@lant3rn1969

Hi folks, up above in the Workloads section, you wrote "However, when TAP methods are exposed publicly from a library, they should be provided only for workloads that involve I/O-bound operations.... If a method is purely compute-bound, it should be exposed only as a synchronous implementation." Why this guidance? Typically, I just make everything async and don't trust the consumer of my APIs to know when to offload compute-bound operations. Your documentation, which is largely excellent, would be improved by including your rationale.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions