Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

Avoid unnecessary allocations with handler generation #5

@jeremydmiller

Description

@jeremydmiller

2 scenarios:

  1. If a handler chain is completely synchronous, have it return a Task.Completed and bypass the async
  2. If a handler chain has only one async frame, it's the last one, and that Frame.CanReturnTask(), return that task.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions