Node.js  v8.x
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine
node::util Namespace Reference

Functions

Local< Private > IndexToPrivateSymbol (Environment *env, uint32_t index)
 
void StartSigintWatchdog (const FunctionCallbackInfo< Value > &args)
 
void StopSigintWatchdog (const FunctionCallbackInfo< Value > &args)
 
void WatchdogHasPendingSigint (const FunctionCallbackInfo< Value > &args)
 
void CreatePromise (const FunctionCallbackInfo< Value > &args)
 
void PromiseResolve (const FunctionCallbackInfo< Value > &args)
 
void PromiseReject (const FunctionCallbackInfo< Value > &args)
 
void Initialize (Local< Object > target, Local< Value > unused, Local< Context > context)
 

Function Documentation

◆ CreatePromise()

void node::util::CreatePromise ( const FunctionCallbackInfo< Value > &  args)

Definition at line 159 of file node_util.cc.

References node::Buffer::New().

Referenced by Initialize().

◆ IndexToPrivateSymbol()

Local<Private> node::util::IndexToPrivateSymbol ( Environment *  env,
uint32_t  index 
)
inline

Definition at line 93 of file node_util.cc.

References V.

◆ Initialize()

void node::util::Initialize ( Local< Object >  target,
Local< Value >  unused,
Local< Context >  context 
)

◆ PromiseReject()

void node::util::PromiseReject ( const FunctionCallbackInfo< Value > &  args)

Definition at line 178 of file node_util.cc.

Referenced by Initialize().

◆ PromiseResolve()

void node::util::PromiseResolve ( const FunctionCallbackInfo< Value > &  args)

Definition at line 167 of file node_util.cc.

Referenced by Initialize().

◆ StartSigintWatchdog()

void node::util::StartSigintWatchdog ( const FunctionCallbackInfo< Value > &  args)

Definition at line 138 of file node_util.cc.

Referenced by Initialize().

◆ StopSigintWatchdog()

void node::util::StopSigintWatchdog ( const FunctionCallbackInfo< Value > &  args)

Definition at line 147 of file node_util.cc.

Referenced by Initialize().

◆ WatchdogHasPendingSigint()

void node::util::WatchdogHasPendingSigint ( const FunctionCallbackInfo< Value > &  args)

Definition at line 153 of file node_util.cc.

Referenced by Initialize().