Skip to main content

KvListIterator

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.

Type Parameters Jump to heading

Properties Jump to heading

readonly
Jump to headingcursor: 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.

Jump to headingnext(): Promise<IteratorResult<KvEntry<T>, undefined>>
Back to top