DittoSync

class DittoSync

Provides access to sync related functionality of Ditto.

Since

4.5.0

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

All currently active sync subscriptions.

Functions

Link copied to clipboard

Installs and returns a sync subscription for a query, configuring Ditto to receive updates from other peers for documents matching that query. The given query must be a SELECT query, otherwise a DittoError.StoreError with DittoError.StoreErrorReason.QueryNotSupported is thrown.