dist/client/lance-gg.js
/**
       * Called upon a server acknowlegement.
       *
       * @param packet
       * @private
       */
Called upon a server acknowlegement.
@param packet
@private
Called upon a server acknowlegement . @param packet @private
onack(packet) {
          const ack = this.acks[packet.id];
          if ("function" === typeof ack) {
              debug("calling ack %s with %j", packet.id, packet.data);
              ack.apply(this, packet.data);
              delete this.acks[packet.id];
          }
          else {
              debug("bad ack %s", packet.id);
          }
      }
onack ( packet ) { const ack = this . acks [ packet . id ] ; if ( "function" === typeof ack ) { debug ( "calling ack %s with %j" , packet . id , packet . data ) ; ack . apply ( this , packet . data ) ; delete this . acks [ packet . id ] ; } else { debug ( "bad ack %s" , packet . id ) ; } }
Called upon a server acknowlegement.
Called upon a server acknowlegement .