911 B
911 B
Client
Constructor
::: new Client(opts: ClientOptions); :::
Properties
| Name | Type | Description |
|---|---|---|
connectionPool |
BaseConnectionPool | |
diagnostic |
Diagnostic | |
helpers |
Helpers | |
name |
string | symbol |
serializer |
Serializer | |
transport |
SniffingTransport |
Methods
| Name | Signature | Description |
|---|---|---|
child |
child(opts: [ClientOptions](./ClientOptions.md)): [Client](./Client.md); |
Creates a child client instance that shared its connection pool with the parent client |
close |
close(): Promise<void>; |
Closes all connections in the connection pool. Connections shared with any parent or child instances will also be closed. |