v8  8.1.307(node14.1.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 8274 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 8291 of file v8.h.


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