v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::Isolate::SuppressMicrotaskExecutionScope Class Reference

#include <v8-isolate.h>

Collaboration diagram for v8::Isolate::SuppressMicrotaskExecutionScope:

Public Member Functions

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

Private Attributes

internal::Isolate *const i_isolate_
 
internal::MicrotaskQueue *const microtask_queue_
 
internal::Address previous_stack_height_
 

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 431 of file v8-isolate.h.

Constructor & Destructor Documentation

◆ SuppressMicrotaskExecutionScope() [1/2]

v8::Isolate::SuppressMicrotaskExecutionScope::SuppressMicrotaskExecutionScope ( Isolate * isolate,
MicrotaskQueue * microtask_queue = nullptr )
explicit

Definition at line 10224 of file api.cc.

Here is the call graph for this function:

◆ ~SuppressMicrotaskExecutionScope()

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

Definition at line 10234 of file api.cc.

◆ SuppressMicrotaskExecutionScope() [2/2]

v8::Isolate::SuppressMicrotaskExecutionScope::SuppressMicrotaskExecutionScope ( const SuppressMicrotaskExecutionScope & )
delete

Member Function Documentation

◆ operator=()

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

Friends And Related Symbol Documentation

◆ internal::ThreadLocalTop

friend class internal::ThreadLocalTop
friend

Definition at line 448 of file v8-isolate.h.

Member Data Documentation

◆ i_isolate_

internal::Isolate* const v8::Isolate::SuppressMicrotaskExecutionScope::i_isolate_
private

Definition at line 444 of file v8-isolate.h.

◆ microtask_queue_

internal::MicrotaskQueue* const v8::Isolate::SuppressMicrotaskExecutionScope::microtask_queue_
private

Definition at line 445 of file v8-isolate.h.

◆ previous_stack_height_

internal::Address v8::Isolate::SuppressMicrotaskExecutionScope::previous_stack_height_
private

Definition at line 446 of file v8-isolate.h.


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