puppeteer/docs/api/puppeteer.commoneventemitter.once.md
2022-07-05 15:41:43 +02:00

574 B

sidebar_label
CommonEventEmitter.once

CommonEventEmitter.once() method

Signature:

interface CommonEventEmitter {
  once(event: EventType, handler: Handler): CommonEventEmitter;
}

Parameters

Parameter Type Description
event EventType
handler Handler

Returns:

CommonEventEmitter