MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / execute_command_async

Method execute_command_async

OpenHD/ohd_common/src/openhd_util_async.cpp:78–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void openhd::AsyncHandle::execute_command_async(std::string tag,
79 std::string command) {
80 auto runnable = [command]() { OHDUtil::run_command(command, {}, true); };
81 execute_async(std::move(tag), runnable);
82}
83
84bool openhd::AsyncHandle::terminate_when_done(
85 const openhd::AsyncHandle::RunningTask& task) {

Calls

no outgoing calls

Tested by

no test coverage detected