@libsql/hrana-client
Version:
Hrana client for connecting to sqld over HTTP or WebSocket
10 lines (9 loc) • 334 B
TypeScript
import type * as proto from "./shared/proto.js";
export declare abstract class Cursor {
/** Fetch the next entry from the cursor. */
abstract next(): Promise<proto.CursorEntry | undefined>;
/** Close the cursor. */
abstract close(): void;
/** True if the cursor is closed. */
abstract get closed(): boolean;
}