MCPcopy Create free account
hub / github.com/nodejs/undici / initMessageEvent

Method initMessageEvent

types/websocket.d.ts:109–109  ·  view source on GitHub ↗
(
    type: string,
    bubbles?: boolean,
    cancelable?: boolean,
    data?: any,
    origin?: string,
    lastEventId?: string,
    source?: MessagePort | null,
    ports?: MessagePort[]
  )

Source from the content-addressed store, hash-verified

107 readonly ports: readonly MessagePort[]
108 readonly source: MessagePort | null
109 initMessageEvent(
110 type: string,
111 bubbles?: boolean,
112 cancelable?: boolean,

Callers 1

events.jsFile · 0.65

Implementers 1

MessageEventlib/web/websocket/events.js

Calls

no outgoing calls

Tested by

no test coverage detected