MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / load_tasker

Function load_tasker

source/binding/NodeJS/src/apis/tasker.cpp:465–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463}
464
465maajs::ValueType load_tasker(maajs::EnvType env)
466{
467 maajs::FunctionType ctor;
468 maajs::NativeClass<TaskerImpl>::init(env, ctor);
469 ExtContext::get(env)->taskerCtor = maajs::PersistentFunction(ctor);
470 return ctor;
471}

Callers 1

initFunction · 0.85

Calls 2

initFunction · 0.70
PersistentFunctionFunction · 0.50

Tested by

no test coverage detected