Closed andreashuber69 closed 1 year ago
That's by design, if you remove all listeners the subscription is released and you should then resubscribe
That's by design, if you remove all listeners the subscription is released and you should then resubscribe
Thanks, would you consider merging a PR, which adds a section to README explaining this as well as the fact that the emitters returned by all subscribeTo...
functions expose an "error"
event?
Sure
Apparently, removing all listeners from an
EventEmitter
somehow cancels the emitter, such that subscribing again results in an error (see below for details). Is this expected or a bug?The program...
... produces the this output: