MCPcopy Index your code
hub / github.com/nodejs/node-addon-api / DefaultCallbackWrapper

Function DefaultCallbackWrapper

napi-inl.h:430–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428
429template <typename CallbackType, typename TSFN>
430napi_value DefaultCallbackWrapper(napi_env /*env*/, std::nullptr_t /*cb*/) {
431 return nullptr;
432}
433
434template <typename CallbackType, typename TSFN>
435napi_value DefaultCallbackWrapper(napi_env /*env*/, Napi::Function cb) {

Callers

nothing calls this directly

Calls 1

IsEmptyMethod · 0.80

Tested by

no test coverage detected