findById

fun findById(id: DittoDocumentId): DittoPendingIdSpecificOperation
fun findById(id: Any): DittoPendingIdSpecificOperation

Generates a DittoPendingIdSpecificOperation with the provided document identifier that can be used to find the document at a point in time or you can chain a call to 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 identifier of the document.