Skip to content

ability to "bundle" more errors before the first suspend point in an async function #1197

@andrewrk

Description

@andrewrk

I'll expand on this later but I need an issue to link to.

  • When you await in the same stack frame that you async, there does not need to be a coroutine allocation.
  • When you async before the first suspend point in a coroutine frame, this can be made to not fail, because the allocation could have been bundled up with the callee's coroutine frame

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalThis issue suggests modifications. If it also has the "accepted" label then it is planned.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions