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

#include <async-hooks-wrapper.h>

Collaboration diagram for v8::AsyncHooksWrap:

Public Member Functions

 AsyncHooksWrap (Isolate *isolate)
 
void Enable ()
 
void Disable ()
 
bool IsEnabled () const
 
v8::Local< v8::Functioninit_function () const
 
void set_init_function (v8::Local< v8::Function > value)
 
v8::Local< v8::Functionbefore_function () const
 
void set_before_function (v8::Local< v8::Function > value)
 
v8::Local< v8::Functionafter_function () const
 
void set_after_function (v8::Local< v8::Function > value)
 
v8::Local< v8::FunctionpromiseResolve_function () const
 
void set_promiseResolve_function (v8::Local< v8::Function > value)
 

Static Public Attributes

static constexpr internal::ExternalPointerTag kManagedTag
 

Private Attributes

Isolateisolate_
 
Persistent< v8::Functioninit_function_
 
Persistent< v8::Functionbefore_function_
 
Persistent< v8::Functionafter_function_
 
Persistent< v8::FunctionpromiseResolve_function_
 
bool enabled_
 

Detailed Description

Definition at line 29 of file async-hooks-wrapper.h.

Constructor & Destructor Documentation

◆ AsyncHooksWrap()

v8::AsyncHooksWrap::AsyncHooksWrap ( Isolate * isolate)
inlineexplicit

Definition at line 34 of file async-hooks-wrapper.h.

Member Function Documentation

◆ after_function()

v8::Local< v8::Function > v8::AsyncHooksWrap::after_function ( ) const
inline

Definition at line 104 of file async-hooks-wrapper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ before_function()

v8::Local< v8::Function > v8::AsyncHooksWrap::before_function ( ) const
inline

Definition at line 98 of file async-hooks-wrapper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Disable()

void v8::AsyncHooksWrap::Disable ( )

Definition at line 90 of file async-hooks-wrapper.cc.

◆ Enable()

void v8::AsyncHooksWrap::Enable ( )

Definition at line 88 of file async-hooks-wrapper.cc.

◆ init_function()

v8::Local< v8::Function > v8::AsyncHooksWrap::init_function ( ) const
inline

Definition at line 92 of file async-hooks-wrapper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsEnabled()

bool v8::AsyncHooksWrap::IsEnabled ( ) const
inline

Definition at line 38 of file async-hooks-wrapper.h.

Here is the caller graph for this function:

◆ promiseResolve_function()

v8::Local< v8::Function > v8::AsyncHooksWrap::promiseResolve_function ( ) const
inline

Definition at line 110 of file async-hooks-wrapper.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_after_function()

void v8::AsyncHooksWrap::set_after_function ( v8::Local< v8::Function > value)
inline

Definition at line 107 of file async-hooks-wrapper.cc.

Here is the call graph for this function:

◆ set_before_function()

void v8::AsyncHooksWrap::set_before_function ( v8::Local< v8::Function > value)
inline

Definition at line 101 of file async-hooks-wrapper.cc.

Here is the call graph for this function:

◆ set_init_function()

void v8::AsyncHooksWrap::set_init_function ( v8::Local< v8::Function > value)
inline

Definition at line 95 of file async-hooks-wrapper.cc.

Here is the call graph for this function:

◆ set_promiseResolve_function()

void v8::AsyncHooksWrap::set_promiseResolve_function ( v8::Local< v8::Function > value)
inline

Definition at line 113 of file async-hooks-wrapper.cc.

Here is the call graph for this function:

Member Data Documentation

◆ after_function_

Persistent<v8::Function> v8::AsyncHooksWrap::after_function_
private

Definition at line 54 of file async-hooks-wrapper.h.

◆ before_function_

Persistent<v8::Function> v8::AsyncHooksWrap::before_function_
private

Definition at line 53 of file async-hooks-wrapper.h.

◆ enabled_

bool v8::AsyncHooksWrap::enabled_
private

Definition at line 57 of file async-hooks-wrapper.h.

◆ init_function_

Persistent<v8::Function> v8::AsyncHooksWrap::init_function_
private

Definition at line 52 of file async-hooks-wrapper.h.

◆ isolate_

Isolate* v8::AsyncHooksWrap::isolate_
private

Definition at line 50 of file async-hooks-wrapper.h.

◆ kManagedTag

internal::ExternalPointerTag v8::AsyncHooksWrap::kManagedTag
staticconstexpr
Initial value:

Definition at line 31 of file async-hooks-wrapper.h.

◆ promiseResolve_function_

Persistent<v8::Function> v8::AsyncHooksWrap::promiseResolve_function_
private

Definition at line 55 of file async-hooks-wrapper.h.


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