integrated object cache into session and added message bus to object_cache and update tests

This commit is contained in:
2026-05-22 15:26:16 +02:00
parent ddf19bbf07
commit 5ec7c13420
8 changed files with 212 additions and 21 deletions
+2
View File
@@ -57,6 +57,8 @@ public:
void reset() { proxy_.reset(); }
void reset(const std::shared_ptr<object_proxy<Type>>& proxy) { proxy_ = proxy; }
[[nodiscard]] std::shared_ptr<object_proxy<Type>> proxy() const { return proxy_; }
operator bool() const { return valid(); }
[[nodiscard]] bool valid() const { return proxy_ != nullptr && !proxy_->empty(); }