Home
last modified time | relevance | path

Searched refs:microtasks_completed_callbacks_ (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/execution/
Dmicrotask-queue.cc227 std::find(microtasks_completed_callbacks_.begin(), in AddMicrotasksCompletedCallback()
228 microtasks_completed_callbacks_.end(), callback_with_data); in AddMicrotasksCompletedCallback()
229 if (pos != microtasks_completed_callbacks_.end()) return; in AddMicrotasksCompletedCallback()
230 microtasks_completed_callbacks_.push_back(callback_with_data); in AddMicrotasksCompletedCallback()
237 std::find(microtasks_completed_callbacks_.begin(), in RemoveMicrotasksCompletedCallback()
238 microtasks_completed_callbacks_.end(), callback_with_data); in RemoveMicrotasksCompletedCallback()
239 if (pos == microtasks_completed_callbacks_.end()) return; in RemoveMicrotasksCompletedCallback()
240 microtasks_completed_callbacks_.erase(pos); in RemoveMicrotasksCompletedCallback()
244 std::vector<CallbackWithData> callbacks(microtasks_completed_callbacks_); in FireMicrotasksCompletedCallback()
Dmicrotask-queue.h142 std::vector<CallbackWithData> microtasks_completed_callbacks_; variable