Skip to main content
class Deno.KvListIterator
implements AsyncIterableIterator<KvEntry>
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, any>>
[Symbol.asyncIterator](): AsyncIterableIterator<KvEntry>