toList

suspend fun <T : Any> FindFlow<T>.toList(): List<T>
suspend fun <T : Any> AggregateFlow<T>.toList(): List<T>
suspend fun <T : Any> DistinctFlow<T>.toList(): List<T>
suspend fun <T : Any> ListIndexesFlow<T>.toList(): List<T>
suspend fun <T : Any> ListCollectionsFlow<T>.toList(): List<T>

Returns all the results as a list (KMongo 4/5 publishers provided a toList() member).