16 Sync(std::shared_ptr<DittoHandleWrapper> ditto_handle_wrapper);
17 std::shared_ptr<DittoHandleWrapper> ditto_handle_wrapper;
18 void set_weak_ditto_fields(std::weak_ptr<Ditto::Fields> weak_ditto_fields);
19 std::weak_ptr<Ditto::Fields> weak_ditto_fields;
26 bool unregister_subscription(std::shared_ptr<SyncSubscription> subscription);
28 void remove_subscription(std::shared_ptr<SyncSubscription> subscription);
31 std::set<std::shared_ptr<SyncSubscription>> subscriptions;
47 std::shared_ptr<SyncSubscription>
std::shared_ptr< SyncSubscription > register_subscription(std::string query, nlohmann::json query_args=nullptr)
Installs and returns a sync subscription for a query, configuring Ditto to receive updates from other...
Definition Sync.cpp:15