temp/www/build/bundle.js
/**
         * Pauses polling.
         *
         * @param {Function} callback upon buffers are flushed and transport is paused
         * @api private
         */
Pauses polling.
@param {Function} callback upon buffers are flushed and transport is paused
@api private
Pauses polling . @param { Function } callback upon buffers are flushed and transport is paused @api private
pause(onPause) {
            this.readyState = "pausing";
            const pause = () => {
                this.readyState = "paused";
                onPause();
            };
            if (this.polling || !this.writable) {
                let total = 0;
                if (this.polling) {
                    total++;
                    this.once("pollComplete", function () {
                        --total || pause();
                    });
                }
                if (!this.writable) {
                    total++;
                    this.once("drain", function () {
                        --total || pause();
                    });
                }
            }
            else {
                pause();
            }
        }
pause ( onPause ) { this . readyState = "pausing" ; const pause = ( ) => { this . readyState = "paused" ; onPause ( ) ; } ; if ( this . polling || ! this . writable ) { let total = 0 ; if ( this . polling ) { total ++ ; this . once ( "pollComplete" , function ( ) { -- total || pause ( ) ; } ) ; } if ( ! this . writable ) { total ++ ; this . once ( "drain" , function ( ) { -- total || pause ( ) ; } ) ; } } else { pause ( ) ; } }
Pauses polling.
Pauses polling .