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
Description
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
Labels
No labels