New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement listener subscription as async iterator protocol #20
Commits on Jan 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 5656357 - Browse repository at this point
Copy the full SHA 5656357View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78cbcd6 - Browse repository at this point
Copy the full SHA 78cbcd6View commit details
Commits on Jan 3, 2018
-
Configuration menu - View commit details
-
Copy full SHA for b50ec91 - Browse repository at this point
Copy the full SHA b50ec91View commit details -
Configuration menu - View commit details
-
Copy full SHA for c904739 - Browse repository at this point
Copy the full SHA c904739View commit details -
Configuration menu - View commit details
-
Copy full SHA for c951511 - Browse repository at this point
Copy the full SHA c951511View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9b617a - Browse repository at this point
Copy the full SHA d9b617aView commit details
Commits on Jan 4, 2018
-
Revert "split async iterator behavior to different file"
This reverts commit d9b617a.
Configuration menu - View commit details
-
Copy full SHA for cac49ab - Browse repository at this point
Copy the full SHA cac49abView commit details -
Configuration menu - View commit details
-
Copy full SHA for ade1383 - Browse repository at this point
Copy the full SHA ade1383View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4d414d - Browse repository at this point
Copy the full SHA a4d414dView commit details
Commits on Jan 6, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a6a3476 - Browse repository at this point
Copy the full SHA a6a3476View commit details -
Configuration menu - View commit details
-
Copy full SHA for e91559c - Browse repository at this point
Copy the full SHA e91559cView commit details -
Handle edge case where return() is called by an earlier listener for …
…the same event This clears 'queue' before the iterator pushes to it, which shouldn't cause a crash.
Configuration menu - View commit details
-
Copy full SHA for c4ca867 - Browse repository at this point
Copy the full SHA c4ca867View commit details -
Configuration menu - View commit details
-
Copy full SHA for e18c260 - Browse repository at this point
Copy the full SHA e18c260View commit details -
Configuration menu - View commit details
-
Copy full SHA for edb7ac5 - Browse repository at this point
Copy the full SHA edb7ac5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 756b47a - Browse repository at this point
Copy the full SHA 756b47aView commit details -
Return async iterator from .events(), not .on()
Add to TS definition and README.
Configuration menu - View commit details
-
Copy full SHA for 7ef2983 - Browse repository at this point
Copy the full SHA 7ef2983View commit details -
Configuration menu - View commit details
-
Copy full SHA for 463c4e6 - Browse repository at this point
Copy the full SHA 463c4e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f9aa37 - Browse repository at this point
Copy the full SHA 3f9aa37View commit details -
Support running tests without for-await-of transpilation
Feature-detect for-await-of support, and only transpile this feature when necessary. With Node.js 9 you can use the following to run tests with the native implementation: ```console $ node --harmony_async_iteration ./node_modules/.bin/ava ```
Configuration menu - View commit details
-
Copy full SHA for ef596e6 - Browse repository at this point
Copy the full SHA ef596e6View commit details
Commits on Jan 7, 2018
-
This syntax is transformed using async-to-generator, not async-generator-functions.
Configuration menu - View commit details
-
Copy full SHA for 361cddd - Browse repository at this point
Copy the full SHA 361cdddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 735ee10 - Browse repository at this point
Copy the full SHA 735ee10View commit details
Commits on Jan 20, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 6d73663 - Browse repository at this point
Copy the full SHA 6d73663View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0afc521 - Browse repository at this point
Copy the full SHA 0afc521View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cdcd6f - Browse repository at this point
Copy the full SHA 4cdcd6fView commit details -
clearListeners() now signals iterators to not expect further items, without clearing the current queue. Clarify that clearListeners() also impacts iterators. Similarly include the number of active iterators in listenerCount(). Enqueue new iterator items synchronously, before listeners are called.
Configuration menu - View commit details
-
Copy full SHA for 94f54c0 - Browse repository at this point
Copy the full SHA 94f54c0View commit details