puppeteer/docs/api/puppeteer.commoneventemitter.listenercount.md
2023-09-13 15:47:55 +02:00

383 B

sidebar_label
CommonEventEmitter.listenerCount

CommonEventEmitter.listenerCount() method

Signature:

interface CommonEventEmitter {
  listenerCount(event: keyof Events): number;
}

Parameters

Parameter Type Description
event keyof Events

Returns:

number