Index: src/d8.h |
diff --git a/src/d8.h b/src/d8.h |
index 321d9c17706d5b1d4793dcda256bae864108eb07..e2456deb07cefd89b20b8a677eeb255e22d09512 100644 |
--- a/src/d8.h |
+++ b/src/d8.h |
@@ -401,6 +401,10 @@ class Shell : public i::AllStatic { |
const v8::FunctionCallbackInfo<v8::Value>& args); |
static void WorkerGetMessage(const v8::FunctionCallbackInfo<v8::Value>& args); |
static void WorkerTerminate(const v8::FunctionCallbackInfo<v8::Value>& args); |
+ |
+ // Run queued microtasks and clear task queue |
+ static void FlushMicrotasks(const v8::FunctionCallbackInfo<v8::Value>& args); |
+ |
// The OS object on the global object contains methods for performing |
// operating system calls: |
// |