MCPcopy Create free account
hub / github.com/NodeRT/NodeRT / CallCallbackInDomain

Function CallCallbackInDomain

src/NodeRTLib/ProjectFiles/NodeRtUtils.cpp:123–129  ·  view source on GitHub ↗

Calls the callback in the appropriate domwin, expects an object in the following format: { "callback" : [callback function] "domain" : [the domain in which the async function/event was called/registered] (this is optional) }

Source from the content-addressed store, hash-verified

121// called/registered] (this is optional)
122// }
123Local<Value> CallCallbackInDomain(Local<v8::Object> callbackObject,
124 int argc,
125 Local<Value> argv[]) {
126 return Nan::MakeCallback(callbackObject,
127 Nan::New<String>("callback").ToLocalChecked(), argc,
128 argv);
129}
130
131::Platform::Object ^
132 GetObjectInstance(Local<Value> value) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected