I just published nanotask - microtask queue scheduler for the browser https://github.com/yoshuawuyts/nanotask/tree/master … (not joking, microtasks are a real thing haha)
-
-
Replying to @yoshuawuyts
Also: TIL in the browser microtask = process.nextTick and setTimeout(fn,0) = setImmediate in terms of how they resolve.
1 reply 0 retweets 4 likes -
Replying to @yoshuawuyts
Sweet! Fallback to process.nextTick in node env?
1 reply 0 retweets 0 likes
Replying to @davidmarkclem
Could do - it doesn't make sense to run most low level browser modules in node tho
11:49 AM - 5 Apr 2017
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.