code: function (event) {
      if (!this.data.enabled) {
        return;
      } else if (!event.type) {
        if (this.data.debug) console.warn('Missing event type.');
      } else if (event.type === 'ping') {
        this.peer.send(event);
      } else {
        this.state[event.type] = event.state;
      }
    }
docs: *****************************************************************
  Remote event propagation