Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class loadBalancing.LoadBalancingStrategy
Re-export
import { loadBalancing } from "https://deno.land/x/neo4j_lite_client@4.4.6/bolt-connection/index.js";
const { LoadBalancingStrategy } = loadBalancing;

A facility to select most appropriate reader or writer among the given addresses for request processing.

Methods

selectReader(knownReaders)

Select next most appropriate reader from the list of given readers.

selectWriter(knownWriters)

Select next most appropriate writer from the list of given writers.