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) }
| 121 | // called/registered] (this is optional) |
| 122 | // } |
| 123 | Local<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) { |
no outgoing calls
no test coverage detected