Static factory designed to expose message events to event handlers that are not necessarily instances of MessagePort.
Static factory designed to expose message
events to event
handlers that are not necessarily instances of MessagePort.
See EventStreamProvider for usage information.