prefixScanAsSequence
fun <K, V, Prefix> KeyValueStore<K, V>.prefixScanAsSequence(prefix: Prefix, prefixKeySerializer: Serializer<Prefix>): Sequence<KeyValue<K, V>>
Iterate over keys 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.