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

344 B

sidebar_label
CommonEventEmitter.listenerCount

CommonEventEmitter.listenerCount() method

Signature:

interface CommonEventEmitter {listenerCount(event: string): number;}

Parameters

Parameter Type Description
event string

Returns:

number