puppeteer/docs/api/puppeteer.commoneventemitter.listenercount.md

24 lines
359 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: CommonEventEmitter.listenerCount
---
# CommonEventEmitter.listenerCount() method
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
interface CommonEventEmitter {
listenerCount(event: string): number;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------ | ----------- |
| event | string | |
**Returns:**
number