|
| PromiseWrap (Environment *env, Local< Object > object, bool silent) |
|
size_t | self_size () const override |
|
|
static PromiseWrap * | New (Environment *env, Local< Promise > promise, PromiseWrap *parent_wrap, bool silent) |
|
static void | GetPromise (Local< String > property, const PropertyCallbackInfo< Value > &info) |
|
static void | GetParentId (Local< String > property, const PropertyCallbackInfo< Value > &info) |
|
Definition at line 261 of file async-wrap.cc.
◆ PromiseWrap()
PromiseWrap |
( |
Environment * |
env, |
|
|
Local< Object > |
object, |
|
|
bool |
silent |
|
) |
| |
|
inline |
◆ GetParentId()
void GetParentId |
( |
Local< String > |
property, |
|
|
const PropertyCallbackInfo< Value > & |
info |
|
) |
| |
|
static |
Definition at line 305 of file async-wrap.cc.
References data, FORCE_SET_TARGET_FIELD, PromiseWrap::GetPromise(), node::http2::Initialize(), PromiseWrap::kInternalFieldCount, node::Buffer::New(), PromiseWrap::New(), SET_HOOK_FN, SET_HOOKS_CONSTANT, V, and wrap.
◆ GetPromise()
void GetPromise |
( |
Local< String > |
property, |
|
|
const PropertyCallbackInfo< Value > & |
info |
|
) |
| |
|
static |
◆ New()
◆ self_size()
size_t self_size |
( |
| ) |
const |
|
inlineoverride |
◆ kInternalFieldCount
constexpr int kInternalFieldCount = 3 |
|
static |
◆ kParentIdField
constexpr int kParentIdField = 2 |
|
static |
◆ kPromiseField
constexpr int kPromiseField = 1 |
|
static |
The documentation for this class was generated from the following file: