puppeteer/website/versioned_docs/version-19.1.0/api/puppeteer.commoneventemitter.emit.md

542 B

sidebar_label
CommonEventEmitter.emit

CommonEventEmitter.emit() method

Signature:

interface CommonEventEmitter {
  emit(event: EventType, eventData?: unknown): boolean;
}

Parameters

Parameter Type Description
event EventType
eventData unknown (Optional)

Returns:

boolean