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