Ditto 4.5.3
|
A sync subscription configures Ditto to receive updates from remote peers about documents matching the subscription's query. More...
#include <SyncSubscription.hpp>
Public Member Functions | |
void | cancel () |
Cancels the sync subscription so that new changes matching the query are no longer received from other peers. No-op if it's already cancelled via or the owning Ditto object goes out of scope. | |
bool | is_cancelled () |
A sync subscription configures Ditto to receive updates from remote peers about documents matching the subscription's query.
bool ditto::SyncSubscription::is_cancelled | ( | ) |
Convenience property, returns true
if the sync subscription has been cancelled, otherwise returns false
. Also, a sync subscription is considered cancelled if the owning Ditto
object goes out of scope.