import { transactionExecutor } from "https://deno.land/x/neo4j_lite_client@4.4.6/core/internal/index.ts";
const { TransactionExecutor } = transactionExecutor;
Methods
_computeDelayWithJitter(delayMs: number): number
_executeTransactionInsidePromise<T>(): void
transactionCreator: TransactionCreator,
transactionWork: TransactionWork<T>,
resolve: Resolve<T>,
reject: Reject,
_handleTransactionWorkFailure()
error: any,
tx: Transaction,
reject: Reject,
_handleTransactionWorkSuccess<T>()
result: T,
tx: Transaction,
resolve: Resolve<T>,
reject: Reject,
_retryTransactionPromise<T>(): Promise<T>
transactionCreator: TransactionCreator,
transactionWork: TransactionWork<T>,
error: Error,
retryStartTime: number,
retryDelayMs: number,
_safeExecuteTransactionWork<T>(tx: Transaction, transactionWork: TransactionWork<T>): Promise<T>
close()
execute<T>(transactionCreator: TransactionCreator, transactionWork: TransactionWork<T>): Promise<T>