temp/www/build/bundle.js
/**
         * Produces an ack callback to emit with an event.
         *
         * @private
         */
Produces an ack callback to emit with an event.
@private
Produces an ack callback to emit with an event . @private
ack(id) {
            const self = this;
            let sent = false;
            return function (...args) {
                if (sent)
                    return;
                sent = true;
                self.packet({
                    type: PacketType.ACK,
                    id: id,
                    data: args,
                });
            };
        }
ack ( id ) { const self = this ; let sent = false ; return function ( ... args ) { if ( sent ) return ; sent = true ; self . packet ( { type : PacketType . ACK , id : id , data : args , } ) ; } ; }
Produces an ack callback to emit with an event.
Produces an ack callback to emit with an event .
// prevent double callbacks