setImmediate

Jason Orendorff jason.orendorff at gmail.com
Thu Aug 8 13:04:26 PDT 2013


On Thu, Aug 8, 2013 at 9:40 AM, David Bruant <bruant.d at gmail.com> wrote:
> Small delays between (micro)task sounds like a local maximum it's hard to
> get away from unfortunately :-(

What if, instead of a slow script dialog, browsers responded to
microtask/setTimeout(0) abuse with gradual throttling? Well-behaved
applications would get immediate setTimeout(0) callbacks. Badly
behaved applications would run slowly.

-j


More information about the es-discuss mailing list