Release: use independent component repositories
This commit is contained in:
1 parent
2fba7d2dea
commit
8f7ae36e0f
5 files changed
+47
-7
No files matched your search
@@ -97,4 +97,14 @@ namespace Echoion::Standalone
|
||||
class Impl;
|
||||
std::unique_ptr<Impl> impl_;
|
||||
};
|
||||
|
||||
using UpdateControlHandler = std::function<Api::Result<std::string>(
|
||||
const std::string&, const std::string&)>;
|
||||
|
||||
// Keep the service alive for the complete duration of an in-flight host
|
||||
// control request. StandaloneClientInterface intentionally invokes a copied
|
||||
// handler outside its mutex, so clearing the registered handler cannot
|
||||
// cancel a callback which has already started.
|
||||
[[nodiscard]] UpdateControlHandler
|
||||
bindUpdateService(std::shared_ptr<UpdateService> service);
|
||||
} // namespace Echoion::Standalone
|
||||
Reference in new issue
Block a user