Questions tagged [iter-ops]

Public library for handling sync + async iterables - generators and iterators in the same manner.

Library homepage: https://github.com/vitaly-t/iter-ops

1 questions
1
vote
2 answers

Unordered resolution of a list of promises

How to convert a dynamic Set> into AsyncIterable (unordered)? The resulting iterable must produce values as they get resolved, and it must end just as the source runs empty. I have a dynamic cache of promises to be resolved, and values…
vitaly-t
  • 24,279
  • 15
  • 116
  • 138