private post()

in src/rpc.ts [248:251]


  private post<T>(message: RPCMessage<T>) {
    (message as RPCMessageWithCounter<T>).counter = this.callCounter++;
    this.options.target.postMessage(JSON.stringify(message), this.options.origin || '*');
  }