Skip to content

[Feature] Allow arbitrary number of variables to be captured by an async block #28744

@mohammadfawaz

Description

@mohammadfawaz

Currently, an async block can only capture 16 variables (tuple fields count as individual variables here). This is a limit imposed by the number of inputs we can have for a function.

Instead, we should bundle some inputs into structs if an async block is attempting to capture more than 16 variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions