event-iterator icon indicating copy to clipboard operation
event-iterator copied to clipboard

Convert event emitters and event targets to ES async iterators

Results 4 event-iterator issues
Sort by recently updated
recently updated
newest added

I'm trying to use the library without setting any restrictions on buffer size (because if I set restrictions I will have to deal with buffers elsewhere in my code). I've...

Hello, I am porting code from NodeJS to browser. In NodeJS I use `require('events').on` (do not confuse with `require('events').EventEmitter.on`). `events.on` is available since NodeJS v13.6.0 and returns `` that iterates...

I just found this library and thought it looked cool and saw that you need either `call` or `apply` on `subscribe` and `stream`. What is the reason behind that?

I really starting to like this library. One thing that I don't understand it how to use this with for instance `useEffect` in React where you have an external teardown...