Hacker GitHub

← All repos

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

Mentions per year 4 mentions · busiest year 2014 (1)
20082026
  1. …rej) => { setImmediate(res); }) (In environments without `setImmediate` this is easily shimmed - https://github.com/YuzuJS/setImmediate )
  2. Well that's a fork of https://github.com/YuzuJS/setImmediate so it must be removed! Would you mind making a pull request?
  3. …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
  4. 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