Commit 30bd7b67 authored by Vladimir Kurchatkin's avatar Vladimir Kurchatkin Committed by Trevor Norris
Browse files

node: support v8 microtask queue

When V8 started supporting Promises natively it also introduced a
microtack queue. This feature operates similar to process.nextTick(),
and created an issue where neither knew when the other had run. This
patch has nextTick() call the microtask queue runner at the end of
processing callbacks in the nextTickQueue.

Fixes: https://github.com/joyent/node/issues/7714


Reviewed-by: default avatarTrevor Norris <trev.norris@gmail.com>
parent 9c992bdb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment