kmongo / kotlin.collections / com.mongodb.client.MongoIterable / useCursor

useCursor

fun <T, R> MongoIterable<T>.useCursor(block: (Iterable<T>) -> R): R (source)

Utility method - this is not part of the KMongo public API.