| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 2dc1bd81af8ce5bbd2a8ac0ed30f5f00eefc79b2..0790ac8c8170320c3ab1e80ef505c8100b406bbb 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -4829,6 +4829,13 @@ class V8_EXPORT Isolate {
|
| bool WillAutorunMicrotasks() const;
|
|
|
| /**
|
| + * Experimental: Returns whether the Microtask Work Queue has any more
|
| + * callbacks to run, not including the one that is currently being executed,
|
| + * if any.
|
| + */
|
| + bool HasPendingMicrotasks() const;
|
| +
|
| + /**
|
| * Sets a callback for counting the number of times a feature of V8 is used.
|
| */
|
| void SetUseCounterCallback(UseCounterCallback callback);
|
|
|