remove Replication Subscription
fun removeReplicationSubscription(replicationSubscription: DittoReplicationSubscription): Boolean
Content copied to clipboard
Removes the given replicationSubscription from the store configuring Ditto to not receive updates for documents matching the corresponding query anymore. No-op if the given replicationSubscription has already been removed.
Warning: Calling this method with a replicationSubscription belonging to a different store will throw a DittoError.
Return
true if the replication subscription was found and successfully removed; false otherwise.
Since
4.5.0
Throws
if there is a problem unregistering the subscription.