summaryrefslogtreecommitdiff
path: root/include/erebos
diff options
context:
space:
mode:
Diffstat (limited to 'include/erebos')
-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;
};