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

Method gc_mark

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

Source from the content-addressed store, hash-verified

404}
405
406void TaskerImpl::gc_mark(maajs::NativeMarkerFunc marker)
407{
408 for (const auto& [_, ctx] : sinks) {
409 marker(ctx->fn);
410 }
411 for (const auto& [_, ctx] : ctxSinks) {
412 marker(ctx->fn);
413 }
414}
415
416TaskerImpl* TaskerImpl::ctor(const maajs::CallbackInfo& info)
417{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected