UNPKG

@liberation-data/drivine

Version:

Best and fastest graph database client for TypeScript / Node.js. Provides a level of abstraction for building highly scalable applications, without compromising architectural integrity

9 lines (8 loc) 292 B
/// <reference types="node" /> import { CursorStreamOptions } from './CursorStreamOptions'; import { Readable } from 'stream'; export interface Cursor<T> { [Symbol.asyncIterator](): AsyncIterator<T>; asStream(options?: CursorStreamOptions<T>): Readable; close(): Promise<void>; }