Helper function for creating a PortPromise.
PortPromise
The message port to use for resolving the promise.
A new PortPromise instance.
Helper function for creating a
PortPromise
.