summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2022-12-17 20:10:20 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2022-12-17 20:10:20 +0100
commit77fc16d21158c6542addcbaaff47b801d3b5f5c7 (patch)
tree8154df1323fb1cfed40785ed13ecce745c64b5ea /include
parent50ee22fde82dc7429d983171935165866493c38e (diff)
Confirm pairing outcome after head commit
Diffstat (limited to 'include')
-rw-r--r--include/erebos/service.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/erebos/service.h b/include/erebos/service.h
index ba06495..7a9a366 100644
--- a/include/erebos/service.h
+++ b/include/erebos/service.h
@@ -26,6 +26,9 @@ public:
const Stored<LocalState> & local() const;
void local(const LocalState &);
+ void afterCommit(function<void()>);
+ void runAfterCommitHooks() const;
+
private:
std::unique_ptr<Priv> p;
};