receive (messageEvent) {
    if (!this.originMatches(messageEvent.origin)) return;
    this.debug('message event received', messageEvent.data);
    const message = Message.createFromMessageEvent(messageEvent, this.debug.bind(this));
    if (!this.shouldHandleMessage(message)) return;
    this.send(message, null, { exclude: [messageEvent.srcElement] });
  }
/**
   * Receives a postMessage, filters it, and sends it out
   *
   * @private
   * @param {MessageEvent} messageEvent
   */
Receives a postMessage, filters it, and sends it out
@private
@param {MessageEvent} messageEvent
Receives a postMessage filters it and sends it out @private @param { MessageEvent } messageEvent
receive (messageEvent) {
    if (!this.originMatches(messageEvent.origin)) return;
    this.debug('message event received', messageEvent.data);
    const message = Message.createFromMessageEvent(messageEvent, this.debug.bind(this));
    if (!this.shouldHandleMessage(message)) return;
    this.send(message, null, { exclude: [messageEvent.srcElement] });
  }
receive ( messageEvent ) { if ( ! this . originMatches ( messageEvent . origin ) ) return ; this . debug ( 'message event received' , messageEvent . data ) ; const message = Message . createFromMessageEvent ( messageEvent , this . debug . bind ( this ) ) ; if ( ! this . shouldHandleMessage ( message ) ) return ; this . send ( message , null , { exclude : [ messageEvent . srcElement ] } ) ; }
Receives a postMessage, filters it, and sends it out
 @private
 @param {MessageEvent} messageEvent
Receives a postMessage filters it and sends it out @private @param { MessageEvent } messageEvent