Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
class Deno.KvListIterator
implements AsyncIterableIterator<KvEntry<T>>
Unstable

An iterator over a range of data entries in a Deno.Kv.

The cursor getter returns the cursor that can be used to resume the iteration from the current position in the future.

Properties

readonly
cursor: string

Returns the cursor of the current position in the iteration. This cursor can be used to resume the iteration from the current position in the future by passing it to the cursor option of the list method.

Methods

next(): Promise<IteratorResult<KvEntry<T>, undefined>>
[Symbol.asyncIterator](): AsyncIterableIterator<KvEntry<T>>