helper.js |
Create a new promise that resolves when the window receives
the MessagePort and starts it.
@param {Window} window - The window to wait for the MessagePort.
@returns {Promise<MessagePort>} A promise you should await to ensure the
window
receives the MessagePort.
|
1688 |