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

Method add_context_sink

source/MaaAgentServer/RemoteInstance/RemoteTasker.cpp:391–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391MaaSinkId RemoteTasker::add_context_sink(MaaEventCallback callback, void* trans_arg)
392{
393 LogError << "Can NOT add sink for remote instance, use AgentServer.add_context_sink instead" << VAR_VOIDP(callback)
394 << VAR_VOIDP(trans_arg);
395 return MaaInvalidId;
396}
397
398void RemoteTasker::remove_context_sink(MaaSinkId sink_id)
399{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected