lib/pool.js
/**
     * Execute all tasks in the pool.
     * @async
     */
Execute all tasks in the pool.
@async
Execute all tasks in the pool . @async
async exec() {
        if (this.tasks.length === 0) {
            return this.resolutions;
        }
        this.checkRunningState();
        return this.run();
    }
async exec ( ) { if ( this . tasks . length === 0 ) { return this . resolutions ; } this . checkRunningState ( ) ; return this . run ( ) ; }
Execute all tasks in the pool.
Execute all tasks in the pool .