Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Is the AsyncGeneratorQueue really necessary? #55

Closed
@rauschma

Description

@rauschma

After receiving a promise from next(), would it ever make sense to call next() again before that promise is settled? After all, done tells you whether you should continue iterating or not.

If not then one could simply throw an error if next() is called before the previously returned promise is settled and no queue would be needed.

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