puppeteer/docs/api/puppeteer.commoneventemitter.once.md

510 B

sidebar_label
CommonEventEmitter.once

CommonEventEmitter.once() method

Signature:

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

Parameters

Parameter Type Description
event EventType
handler Handler

Returns:

this