v8  8.6.395 (node 15.0.1)
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 8336 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 8353 of file v8.h.


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