Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class observer.FailedObserver
import { observer } from "https://deno.land/x/neo4j_lite_client@4.4.6/core/internal/index.ts";
const { FailedObserver } = observer;

Constructors

new
FailedObserver(unnamed 0: { error: Error; onError?: (error: Error) => void | Promise<void>; })

Properties

private
optional
_beforeError: (error: Error) => void
private
_error: Error
private
_observers: ResultObserver[]

Methods

cancel(): void
onError(error: Error): void
subscribe(observer: ResultObserver): void