Skip to main content
Module

x/neo4j_lite_client/mod.ts>ResultObserver

Unofficial Neo4j Driver for Deno
Latest
interface ResultObserver
Re-export
import { type ResultObserver } from "https://deno.land/x/neo4j_lite_client@4.4.6/mod.ts";

Interface to observe updates on the Result which is being produced.

Properties

optional
onKeys: (keys: string[]) => void

Receive the keys present on the record whenever this information is available

optional
onNext: (record: Record) => void

Receive the each record present on the @Result

optional
onCompleted: (summary: ResultSummary) => void

Called when the result is fully received

optional
onError: (error: Error) => void

Called when some error occurs during the result proccess or query execution