Home
last modified time | relevance | path

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

/external/v8/src/runtime/
Druntime-promise.cc96 CONVERT_ARG_HANDLE_CHECKED(JSFunction, microtask, 0); in RUNTIME_FUNCTION()
97 isolate->EnqueueMicrotask(microtask); in RUNTIME_FUNCTION()
/external/v8/src/
Disolate.cc3395 void Isolate::EnqueueMicrotask(Handle<Object> microtask) { in Throw() argument
3396 DCHECK(microtask->IsJSFunction() || microtask->IsCallHandlerInfo() || in Throw()
3397 microtask->IsPromiseResolveThenableJobInfo() || in Throw()
3398 microtask->IsPromiseReactionJobInfo()); in Throw()
3410 queue->set(num_tasks, *microtask); in Throw()
3440 Handle<Object> microtask(queue->get(i), this); in Throw()
3442 if (microtask->IsCallHandlerInfo()) { in Throw()
3444 Handle<CallHandlerInfo>::cast(microtask); in Throw()
3452 if (microtask->IsJSFunction()) { in Throw()
3453 context = Handle<JSFunction>::cast(microtask)->context(); in Throw()
[all …]
Disolate.h1116 void EnqueueMicrotask(Handle<Object> microtask);
Dapi.cc8485 void Isolate::EnqueueMicrotask(Local<Function> microtask) { in EnqueueMicrotask() argument
8487 isolate->EnqueueMicrotask(Utils::OpenHandle(*microtask)); in EnqueueMicrotask()
8491 void Isolate::EnqueueMicrotask(MicrotaskCallback microtask, void* data) { in EnqueueMicrotask() argument
8497 SET_FIELD_WRAPPED(callback_info, set_callback, microtask); in EnqueueMicrotask()
/external/v8/include/
Dv8.h7027 void EnqueueMicrotask(Local<Function> microtask);
7032 void EnqueueMicrotask(MicrotaskCallback microtask, void* data = NULL);
/external/v8/
DChangeLog22018 Add API support for passing a C++ function as a microtask callback.
22120 Move microtask queueing logic from JavaScript to C++.
22162 Drop unused static microtask API.
22164 Introduce an api to query the microtask autorun state of an isolate.
22214 Introduce a microtask suppression scope and move microtask methods to