isDocumentPending

expect fun isDocumentPending(docId: String, collection: Collection): Boolean(source)

Best effort check to see if the document whose ID is passed is still pending replication.

Return

true if the document is pending

Parameters

docId

Document id


expect fun isDocumentPending(docId: String): Boolean(source)

Deprecated

Use isDocumentPending(String, Collection)

Replace with

isDocumentPending(docId, config.database.defaultCollection)

Best effort check to see if the document whose ID is passed is still pending replication.

Return

true if the document is pending

Parameters

docId

Document id

actual fun isDocumentPending(docId: String, collection: Collection): Boolean(source)

actual fun isDocumentPending(docId: String): Boolean(source)

Deprecated

Use isDocumentPending(String, Collection)

Replace with

isDocumentPending(docId, config.database.defaultCollection)
actual fun isDocumentPending(docId: String, collection: Collection): Boolean(source)

actual fun isDocumentPending(docId: String): Boolean(source)

Deprecated

Use isDocumentPending(String, Collection)

Replace with

isDocumentPending(docId, config.database.defaultCollection)