ditto-lib / live.ditto / DittoSubscription

DittoSubscription

class DittoSubscription : Closeable

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.

Properties

collectionName

the name of the collection that the subscription is based on.

val collectionName: String

query

the query that the subscription is based on.

val query: String

Functions

close

fun close(): Unit

finalize

fun finalize(): Unit