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

Unified Diff: include/v8.h

Issue 264333004: Introduce an api to query the microtask autorun state of an isolate (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index d39dca96bba8d5b60f46d0ec2e05f616cf71cd0e..809ac1325eb5439b533933d3adf042f809315e4a 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -4389,6 +4389,12 @@ class V8_EXPORT Isolate {
*/
void SetAutorunMicrotasks(bool autorun);
+ /**
+ * Experimental: Returns whether the Microtask Work Queue is automatically
+ * run when the script call depth decrements to zero.
+ */
+ bool WillAutorunMicrotasks() const;
+
private:
template<class K, class V, class Traits> friend class PersistentValueMap;
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698