[]previous and next page

KVListPage

One page of keys.

One page of keys.

Import#

ts
import type { KVListPage } from "@shadow-js/dusk/server";

Signature#

ts
interface KVListPage {
  readonly keys: readonly string[];
  /** Pass to the next `list` call; absent on the last page. */
  readonly cursor: string | undefined;
}

Members#

Name Type Description
keys readonly keys: readonly string[]
cursor readonly cursor: string | undefined Pass to the next list call; absent on the last page.