Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(428)

Unified Diff: src/d8.h

Issue 1895603002: [esnext] prototype runtime implementation for async functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@AsyncFunction
Patch Set: remove weird arrow-generator thing Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/d8.h
diff --git a/src/d8.h b/src/d8.h
index e51e8ee13fae98b3bcc7b3d3fab5421548213454..f740b647136d9961ba69f66841fa696c1567a83c 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:
//

Powered by Google App Engine
This is Rietveld 408576698