MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / CustomAllocWorker

Method CustomAllocWorker

test/async_worker.cc:59–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58 public:
59 CustomAllocWorker(Function& cb) : AsyncWorker(cb){};
60 static void DoWork(const CallbackInfo& info) {
61 Function cb = info[0].As<Function>();
62 Allocator allocator;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected