performPoW() {
        return new Promise((resolve, reject) => {
            try {
                this.checkInput();
                this.loopTrytes(this.index);
            } catch (err) {
                return reject(err);
            }
            setInterval(() => {
                if (this.finishedPoW) return resolve(this.finalBundleTrytes.reverse());
            }, 1234);
        });
    }
/**
     * Launches the needed methods to perform the PoW.
     */
Launches the needed methods to perform the PoW.
Launches the needed methods to perform the PoW .
performPoW() {
        return new Promise((resolve, reject) => {
            try {
                this.checkInput();
                this.loopTrytes(this.index);
            } catch (err) {
                return reject(err);
            }
            setInterval(() => {
                if (this.finishedPoW) return resolve(this.finalBundleTrytes.reverse());
            }, 1234);
        });
    }
performPoW ( ) { return new Promise ( ( resolve , reject ) => { try { this . checkInput ( ) ; this . loopTrytes ( this . index ) ; } catch ( err ) { return reject ( err ) ; } setInterval ( ( ) => { if ( this . finishedPoW ) return resolve ( this . finalBundleTrytes . reverse ( ) ) ; } , 1234 ) ; } ) ; }
Launches the needed methods to perform the PoW.
Launches the needed methods to perform the PoW .