kmongo / org.litote.kmongo.coroutine / CoroutineChangeStreamPublisher / withDocumentClass

withDocumentClass

suspend fun <reified TDocument> withDocumentClass(): List<TDocument> (source)

Returns a list containing the results of the change stream based on the document class provided.

Parameters

Return
the new Mongo Iterable