jlongster / js-csp

CSP channels for Javascript (like Clojurescript's core.async, or Go) THIS IS AN UPSTREAM FORK
281 stars 9 forks source link

coalesce timers #1

Open jlongster opened 10 years ago

jlongster commented 10 years ago

Make sure timers are coalesced within a threshold (10ms) and dispatches happens on the right run loops when a channel is closed:

https://github.com/clojure/core.async/blob/master/src/main/clojure/clojure/core/async/impl/timers.clj#L49