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

Method post_stop

source/MaaAgentServer/RemoteInstance/RemoteTasker.cpp:146–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146MaaTaskId RemoteTasker::post_stop()
147{
148 TaskerPostStopReverseRequest req {
149 .tasker_id = tasker_id_,
150 };
151 auto resp_opt = server_.send_and_recv<TaskerPostStopReverseResponse>(req);
152 if (!resp_opt) {
153 return MaaInvalidId;
154 }
155 return resp_opt->task_id;
156}
157
158bool RemoteTasker::stopping() const
159{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected