• rafaelw@chromium.org's avatar
    V8 Microtask Queue & API · 6b5a4cde
    rafaelw@chromium.org authored
    This patch generalizes Object.observe callbacks and promise resolution into a FIFO queue called a "microtask queue".
    
    It also exposes new V8 API which exposes the microtask queue to the embedder. In particular, it allows the embedder to
    
    -schedule a microtask (EnqueueExternalMicrotask)
    -run the microtask queue (RunMicrotasks)
    -control whether the microtask queue is run automatically within V8 when the last script exits (SetAutorunMicrotasks).
    
    R=dcarney@chromium.org, rossberg@chromium.org, dcarney, rossberg, svenpanne
    BUG=
    
    Review URL: https://codereview.chromium.org/154283002
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19344 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    6b5a4cde
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...