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

Method clear_sinks

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

Source from the content-addressed store, hash-verified

97}
98
99void TaskerImpl::clear_sinks()
100{
101 MaaTaskerClearSinks(tasker);
102 for (const auto& [_, ctx] : sinks) {
103 delete ctx;
104 }
105 sinks.clear();
106}
107
108MaaSinkId TaskerImpl::add_context_sink(maajs::FunctionType sink)
109{

Callers

nothing calls this directly

Calls 2

MaaTaskerClearSinksFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected