| 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;
|
|
|
|
|