10 line event emitter. Because yeah, you really don't need much else. https://gist.github.com/yoshuawuyts/31dace8a9a485ed345d0b37ab4b2db25 …
-
-
But what if an unsubscribe happens as the result of an `.on`? With splice, you get different behavior depending upon the order that the events were bound.
-
I can’t imagine a scenario where that extra array would actually be a bottleneck.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.