Ditto Sync Subscription
A sync subscription configures Ditto to receive updates from remote peers about documents matching the subscription's query.
Create a sync subscription by calling registerSubscription()
on DittoSync. The subscription will remain active until either explicitly cancelled via close()
or the owning Ditto instance goes out of scope.
Since
4.5.0
Properties
Link copied to clipboard
true
when if the DittoSyncSubscription has been closed (i.e. removed from its store. Also, a sync subscription is considered closed if the owning Ditto instance goes out of scope.
Link copied to clipboard
Arguments for the queryString.
Link copied to clipboard
Documents matching this query will be included in the subscription.