v8  9.4.146 (node 16.13.0)
V8 is Google's open source JavaScript engine
Isolate::SuppressMicrotaskExecutionScope Class Reference

#include <v8.h>

Public Member Functions

 SuppressMicrotaskExecutionScope (Isolate *isolate, MicrotaskQueue *microtask_queue=nullptr)
 
 ~SuppressMicrotaskExecutionScope ()
 
 SuppressMicrotaskExecutionScope (const SuppressMicrotaskExecutionScope &)=delete
 
SuppressMicrotaskExecutionScopeoperator= (const SuppressMicrotaskExecutionScope &)=delete
 

Friends

class internal::ThreadLocalTop
 

Detailed Description

Do not run microtasks while this scope is active, even if microtasks are automatically executed otherwise.

Definition at line 8454 of file v8.h.

Constructor & Destructor Documentation

◆ SuppressMicrotaskExecutionScope() [1/2]

SuppressMicrotaskExecutionScope ( Isolate isolate,
MicrotaskQueue microtask_queue = nullptr 
)
explicit

◆ ~SuppressMicrotaskExecutionScope()

◆ SuppressMicrotaskExecutionScope() [2/2]

Member Function Documentation

◆ operator=()

Friends And Related Function Documentation

◆ internal::ThreadLocalTop

friend class internal::ThreadLocalTop
friend

Definition at line 8471 of file v8.h.


The documentation for this class was generated from the following file: