V8 Project
v8::Isolate::SuppressMicrotaskExecutionScope Class Reference

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

#include <v8.h>

+ Collaboration diagram for v8::Isolate::SuppressMicrotaskExecutionScope:

Public Member Functions

 SuppressMicrotaskExecutionScope (Isolate *isolate)
 
 ~SuppressMicrotaskExecutionScope ()
 

Private Member Functions

 SuppressMicrotaskExecutionScope (const SuppressMicrotaskExecutionScope &)
 
SuppressMicrotaskExecutionScopeoperator= (const SuppressMicrotaskExecutionScope &)
 

Private Attributes

internal::Isolateisolate_
 

Detailed Description

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

Definition at line 4458 of file v8.h.

Constructor & Destructor Documentation

◆ SuppressMicrotaskExecutionScope() [1/2]

v8::Isolate::SuppressMicrotaskExecutionScope::SuppressMicrotaskExecutionScope ( Isolate isolate)
explicit

Definition at line 6673 of file api.cc.

6675  : isolate_(reinterpret_cast<i::Isolate*>(isolate)) {
6677 }
HandleScopeImplementer * handle_scope_implementer()
Definition: isolate.h:901

References v8::internal::Isolate::handle_scope_implementer(), v8::internal::HandleScopeImplementer::IncrementCallDepth(), and isolate_.

+ Here is the call graph for this function:

◆ ~SuppressMicrotaskExecutionScope()

v8::Isolate::SuppressMicrotaskExecutionScope::~SuppressMicrotaskExecutionScope ( )

Definition at line 6680 of file api.cc.

◆ SuppressMicrotaskExecutionScope() [2/2]

v8::Isolate::SuppressMicrotaskExecutionScope::SuppressMicrotaskExecutionScope ( const SuppressMicrotaskExecutionScope )
private

Member Function Documentation

◆ operator=()

SuppressMicrotaskExecutionScope& v8::Isolate::SuppressMicrotaskExecutionScope::operator= ( const SuppressMicrotaskExecutionScope )
private

Member Data Documentation

◆ isolate_

internal::Isolate* v8::Isolate::SuppressMicrotaskExecutionScope::isolate_
private

Definition at line 4464 of file v8.h.

Referenced by SuppressMicrotaskExecutionScope().


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