You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ah! ok, so this is great, im considering rewriting this lib to handle plugins, where the entire wild card system would be plugged in, i've recently had some performance improvement ideas.
You can listen on "all" events using onAny, should be easy enough to make a wrapper or utility to enable this functionality. Also, adding state to the result of on doesn't seem like it'd be good for performance.
Hey Paolo
I'd love to do a kind of
pipe
to another EventEmitter for all events that haven't been handled by my component.The API I have in mind is the following:
unhandled
could beonOther
or whatever else fits into the EventEmitter style.What do you think, could this be low-level enough to be useful for everyone else?
The text was updated successfully, but these errors were encountered: