[Home](./index.md) > [puppeteer](./puppeteer.md) > [EventEmitter](./puppeteer.eventemitter.md) > [removeAllListeners](./puppeteer.eventemitter.removealllisteners.md)
## EventEmitter.removeAllListeners() method
Removes all listeners. If given an event argument, it will remove only listeners for that event.
Signature:
```typescript
removeAllListeners(event?: EventType): EventEmitter;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| event | EventType | the event to remove listeners for. |
Returns:
[EventEmitter](./puppeteer.eventemitter.md)
`this` to enable you to chain calls.