Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/pages/apis/pool.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,12 @@ The error listener is passed the error as the first argument and the client upon
uncaught error and potentially crash your node process.
</Alert>

### release

`pool.on('release', (err: Error, client: Client) => void) => void`

Whenever a client is released back into the pool, the pool will emit the `release` event.

### remove

`pool.on('remove', (client: Client) => void) => void`
Expand Down