Adding `pubit.debouncedListener` helper.
Like `pubit.throttledListener`, but with debouncing behavior instead.
Extract method for great deduplication.
Adding JSHint headers.
I am, of course, perfect and my code passes without modifications.
Reordering tests to please my aesthetic sensibilities.
Adding a test for normal blanket-unsubscription.
Adds a one-time listener for a given event. Implemented using a separate dict of one-time listeners, to avoid the extra wrapping function that would be necessary in a naive implementation. Keeping stack traces clean since 2012.™
Adding `pubit.throttledListener` helper.
You pass it an aggregate listener, which is called with an array of all arguments collected from the throttled calls within a given time period.
handler → listener
emitter.(subscribe/unsubscribe) → emitter.(on/off)
Adding a TODO
Prefixing test files with numbers so they run in a nice order.
Argument validation for publisher.publish
Moving emitter to a separate file.
Cleaning up `unsubscribeSingleHandler` implementation.
Initial commit of some code I had lying around.