repeaterjs / repeater

The missing constructor for creating safe async iterators
https://repeater.js.org
MIT License
459 stars 12 forks source link

Parameterize next/return #30

Closed brainkim closed 4 years ago

brainkim commented 5 years ago

Closes #17

TODO: figure out if we want to use the new IteratorResult/AsyncIterator type args. Doing this would force typescript users to use typescript 3.6.2 or later or provide their own type shim.

brainkim commented 5 years ago

Possibly blocked by https://github.com/microsoft/TypeScript/issues/33239 unless we want to give up on implementing AsyncIterator

brainkim commented 4 years ago

Work on this has been unblocked by the release of typescript version 3.6.4