Skip to content

Support async closures #111

Open
Open
@dullbananas

Description

@dullbananas
No description provided.

Activity

nagisa

nagisa commented on Feb 21, 2025

@nagisa
Member

How would this even work, or why is this necessary when future's "stack" requirements are always statically known?

dullbananas

dullbananas commented on Feb 22, 2025

@dullbananas
Author

Calling the non-async grow or maybe_grow function in the poll function might work.

This would help with avoiding stack overflows caused by recursive async functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @nagisa@dullbananas

        Issue actions

          Support async closures · Issue #111 · rust-lang/stacker