function AbstractPort(portid) {
  this._portid = portid;
  this._handler = undefined;
  // pending messages sent to this port before it has a message handler.
  this._pendingMessagesIncoming = [];
}
// The port implementation which is shared between clients and workers.
The port implementation which is shared between clients and workers.
The port implementation which is shared between clients and workers .
function AbstractPort(portid) {
  this._portid = portid;
  this._handler = undefined;
  this._pendingMessagesIncoming = [];
}
function AbstractPort ( portid ) { this . _portid = portid ; this . _handler = undefined ; this . _pendingMessagesIncoming = [ ] ; }
The port implementation which is shared between clients and workers.
The port implementation which is shared between clients and workers .
// pending messages sent to this port before it has a message handler.