ports property

JSArray<MessagePort> get ports

@AvailableInWorkers("service")

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.)

Implementation

external JSArray<MessagePort> get ports;