findByID

fun findByID(id: DittoDocumentID): DittoPendingIDSpecificOperation
fun findByID(id: Any): DittoPendingIDSpecificOperation

Generates a DittoPendingIDSpecificOperation with the provided document ID that can be used to find the document at a point in time or you can chain a call to observe, observeLocal, or subscribe if you want to get updates about the document over time.

Return

a DittoPendingIDSpecificOperation that you can chain function calls to either get the document immediately or get updates about it over time.

Parameters

id

the ID of the document.