with Document Class
abstract fun <TDocument : Any> withDocumentClass(clazz: KClass<out TDocument>): Flow<TDocument>
Content copied to clipboard
Returns a Flow containing the results of the change stream based on the document class provided.
Return
the new Flow
Parameters
clazz
the class to use for the raw result.