- Preparing search index...
- The search index is not available
cardano-sdk
Function getPoolWithServiceDiscovery
- getPoolWithServiceDiscovery(dnsResolver: ((serviceName: string) => Promise<SrvRecord>), logger: Logger, __namedParameters: PoolConfig): Promise<Pool>
-
Parameters
-
dnsResolver: ((serviceName: string) => Promise<SrvRecord>)
-
- (serviceName: string): Promise<SrvRecord>
-
Returns Promise<SrvRecord>
-
logger: Logger
-
__namedParameters: PoolConfig
Returns Promise<Pool>
Creates a extended Pool client :
Returns
pg.Pool instance