News for hackers. Stuff that matters.
Re:Async Iterators: These Promises Are Killing My Performance by Arnavion on Monday August 28, 2017 @01:52PM (#15118620)
You're using poor polyfills if they use setTimeout. Good polyfills [1] use MutationObserver which uses the (a?) microtask queue.

Invoking a Promise's then() callback synchronously is a violation of the spec. IIRC there are some tests to prevent that in the test suite.

[1]: https://github.com/petkaantonov/bluebird/blob/2c9f7a44/src/s...

There are no comments on this comment yet.