YuzuJS/setImmediate
View on GitHub ↗ ★ 1,303 JavaScript
A cross-browser implementation of the new setImmediate API.
4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2014-05-01 · latest 2019-08-16
20082026
-
…rej) => { setImmediate(res); }) (In environments without `setImmediate` this is easily shimmed - https://github.com/YuzuJS/setImmediate )
comment by creatonez · 2019-08-16 · in Async-std: an async port of the Rust standard library -
Well that's a fork of https://github.com/YuzuJS/setImmediate so it must be removed! Would you mind making a pull request?
comment by gianlucaguarini · 2017-07-02 · in Icaro – Smart Javascript object observer, ideal for batching DOM updates -
…to setImmediate[+]. My gen 57 birdie (x4) is increasing its score by approx 2,000 points/sec. [+] https://github.com/YuzuJS/setImmediate/
comment by michaelsbradley · 2016-11-10 · in NeuroEvolution – Flappy Bird -
setImmediate works with macrotasks; promises work with microtasks. These are very different. See e.g. https://github.com/YuzuJS/setImmediate#macrotasks-and-microt... Also, note that yield/generators are entirely synchronous, and cannot be…
comment by domenicd · 2014-05-01 · in JavaScript Promises in Wicked Detail