DittoSubscription

@objc
public class DittoSubscription : NSObject

While DittoSubscription objects remain in scope they ensure that documents in the collection specified and that match the query provided will try to be kept up-to-date with the latest changes from remote peers.

  • The query that the subscription is based on.

    Declaration

    Swift

    @objc
    public let query: String
  • The name of the collection that the subscription is based on.

    Declaration

    Swift

    @objc
    public let collectionName: String