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

#include <v8-isolate.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 366 of file v8-isolate.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 383 of file v8-isolate.h.


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