| 144 | } |
| 145 | |
| 146 | MaaTaskId 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 | |
| 158 | bool RemoteTasker::stopping() const |
| 159 | { |
no outgoing calls
no test coverage detected