<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Connection](./puppeteer.connection.md) &gt; [\_onClose](./puppeteer.connection._onclose.md)

## Connection.\_onClose() method

<b>Signature:</b>

```typescript
_onClose(): void;
```
<b>Returns:</b>

void

