useAll
inline fun <K, V, Result> KeyValueStore<K, V>.useAll(operation: KeyValueIteratorOperation<K, V, Result>): Result
Iterate over all records.
This function is useful because the KeyValueIterator will be closed automatically (see: kotlin.io.use) after all values have been consumed.