1#ifndef _DITTO_SYNC_SUBSCRIPTION_
2#define _DITTO_SYNC_SUBSCRIPTION_
20 public std::enable_shared_from_this<SyncSubscription> {
27 std::weak_ptr<Ditto::Fields> weak_ditto_fields;
31 std::vector<uint8_t> cbor_query_args;
An observation token returned by any observation API in the Ditto SDK. Retain this object to continue...
Definition Observer.hpp:11
A sync subscription configures Ditto to receive updates from remote peers about documents matching th...
Definition SyncSubscription.hpp:20
bool is_cancelled()
Definition SyncSubscription.cpp:48
void cancel()
Cancels the sync subscription so that new changes matching the query are no longer received from othe...
Definition SyncSubscription.cpp:46
basic_json<> json
default JSON class
Definition json.hpp:2933