Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class default
import { default } from "https://deno.land/x/neo4j_lite_client@4.4.6/core/internal/connection-holder.ts";

Provides a interaction with a ConnectionHolder without change it state by releasing or initilizing

Constructors

new
default(connectionHolder: ConnectionHolder)

Contructor

Properties

private
_connectionHolder: ConnectionHolder

Methods

close(): Promise<Connection | void>

Get the current connection promise, doesn't performs the connection close

getConnection(): Promise<Connection | void>

Get the current connection promise.

Return the true if the connection is suppose to be initilized with the command.

releaseConnection(): Promise<Connection | void>

Get the current connection promise, doesn't performs the release