ExtendableMessageEvent
open class ExtendableMessageEvent(val type: EventType<ExtendableMessageEvent>, init: ExtendableMessageEventInit = definedExternally) : ExtendableEvent(source)
The ExtendableMessageEvent
interface of the Service Worker API represents the event object of a ServiceWorkerGlobalScope/message_event event fired on a service worker (when a message is received on the ServiceWorkerGlobalScope from another context) — extends the lifetime of such events.
Constructors
Link copied to clipboard
constructor(type: EventType<ExtendableMessageEvent>, init: ExtendableMessageEventInit = definedExternally)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The lastEventID
read-only property of the ExtendableMessageEvent interface represents, in server-sent events, the last event ID of the event source.
Link copied to clipboard
Link copied to clipboard
The ports
read-only property of the ExtendableMessageEvent interface returns the array containing the MessagePort objects representing the ports of the associated message channel (the channel the message is being sent through.)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard