Home
last modified time | relevance | path

Searched refs:microtask (Results 1 – 6 of 6) sorted by relevance

/external/v8/src/
Disolate.cc3218 void Isolate::EnqueueMicrotask(Handle<Object> microtask) { in Throw() argument
3219 DCHECK(microtask->IsJSFunction() || microtask->IsCallHandlerInfo() || in Throw()
3220 microtask->IsPromiseResolveThenableJobInfo() || in Throw()
3221 microtask->IsPromiseReactionJobInfo()); in Throw()
3233 queue->set(num_tasks, *microtask); in Throw()
3262 Handle<Object> microtask(queue->get(i), this); in Throw()
3264 if (microtask->IsCallHandlerInfo()) { in Throw()
3266 Handle<CallHandlerInfo>::cast(microtask); in Throw()
3274 if (microtask->IsJSFunction()) { in Throw()
3275 context = Handle<JSFunction>::cast(microtask)->context(); in Throw()
[all …]
Disolate.h1108 void EnqueueMicrotask(Handle<Object> microtask);
Dapi.cc8244 void Isolate::EnqueueMicrotask(Local<Function> microtask) { in EnqueueMicrotask() argument
8246 isolate->EnqueueMicrotask(Utils::OpenHandle(*microtask)); in EnqueueMicrotask()
8250 void Isolate::EnqueueMicrotask(MicrotaskCallback microtask, void* data) { in EnqueueMicrotask() argument
8256 SET_FIELD_WRAPPED(callback_info, set_callback, microtask); in EnqueueMicrotask()
/external/v8/src/runtime/
Druntime-promise.cc180 CONVERT_ARG_HANDLE_CHECKED(JSFunction, microtask, 0); in RUNTIME_FUNCTION()
181 isolate->EnqueueMicrotask(microtask); in RUNTIME_FUNCTION()
/external/v8/include/
Dv8.h6905 void EnqueueMicrotask(Local<Function> microtask);
6910 void EnqueueMicrotask(MicrotaskCallback microtask, void* data = NULL);
/external/v8/
DChangeLog17997 Add API support for passing a C++ function as a microtask callback.
18099 Move microtask queueing logic from JavaScript to C++.
18141 Drop unused static microtask API.
18143 Introduce an api to query the microtask autorun state of an isolate.
18193 Introduce a microtask suppression scope and move microtask methods to