Skip to content

Support AGen specification for asynchronous generators #9

@CrabDude

Description

@CrabDude

To generate discussion, feedback and achieve interoperability:

You know the details, but for anyone else coming here...

@Raynos and I put together the AGen specification with your feedback for asynchronous generators, generators + asynchrony (e.g., promises, continuables, etc...) which we're using in our own libraries (gens) to create a cohesive specification for asynchronous generator interoperability.

Some highlights:

  • Asynchrony agnostic: implementor/user could support promises, thunks, or something new and exotic, but must support yielding on generator objects.
  • Support for serial (vanilla yield) or parallel (yield [...]) execution.
  • Separation of Errors and Exceptions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions