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

Method clear_context_sinks

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

Source from the content-addressed store, hash-verified

128}
129
130void TaskerImpl::clear_context_sinks()
131{
132 MaaTaskerClearContextSinks(tasker);
133 for (const auto& [_, ctx] : ctxSinks) {
134 delete ctx;
135 }
136 ctxSinks.clear();
137}
138
139maajs::ValueType
140 TaskerImpl::post_task(maajs::ValueType self, maajs::EnvType, std::string entry, maajs::OptionalParam<maajs::ValueType> param)

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45

Tested by

no test coverage detected