Closed darcyadams closed 9 years ago
I like it, no timers necessary!
yeah :smile: timer would have been a last resort.
@f any input on this? or am I okay to merge?
I have been running this branch in my app for over a week w/ no issues. merging.
same, been running in production for a week :smile: thanks!
This PR does the following...
emit
arollback
event, which will reject the promise returned to thedispatch
method. This allows the developer to use acatch
error handler in addition to athen
handler.defaultMaxListeners
to 50. This is a somewhat arbitrary number. I certainly feel like 10 (the built-in default max) is too low. My app goes over 10 quite frequently. Since we auto cleanup these events now, I want to make sure there is plenty of headroom.