| 185 | } |
| 186 | |
| 187 | maajs::PromiseType TaskerImpl::wait(MaaTaskId id) |
| 188 | { |
| 189 | auto worker = new maajs::AsyncWork<MaaStatus>(env, [handle = tasker, id]() { return MaaTaskerWait(handle, id); }); |
| 190 | worker->Queue(); |
| 191 | return worker->Promise(); |
| 192 | } |
| 193 | |
| 194 | bool TaskerImpl::get_inited() |
| 195 | { |
nothing calls this directly
no test coverage detected