reverseRangeAsSequence

fun <K, V> KeyValueStore<K, V>.reverseRangeAsSequence(from: K? = null, to: K? = null): Sequence<KeyValue<K, V>>

Generate a Sequence of a reverse-range of records.

This function is useful because the KeyValueIterator will be closed automatically (see: kotlin.io.use) after all values have been consumed.

See also