()
| 958 | } |
| 959 | |
| 960 | toHostPort(): { host: string; port: number } { |
| 961 | if (this.socketPath) { |
| 962 | return { host: this.socketPath, port: 0 }; |
| 963 | } |
| 964 | |
| 965 | const host = this.host ?? ''; |
| 966 | const port = this.port ?? 0; |
| 967 | return { host, port }; |
| 968 | } |
| 969 | } |
| 970 | |
| 971 | export const DEFAULT_PK_FACTORY = { |
no outgoing calls
no test coverage detected