function WaitNStop() {
    setInterval(() => {
        if (client.not_working + client.working >= client.n_proxy) {
            console.log(chalk.hex('#388E3C')('DONE !\nWORKING: ' + client.working + '\nBAD: ' + client.not_working));
            process.exit(0)
        }
    });
}
//Simply wait until not working + working is greater or equal to numbers of proxy then exit
Simply wait until not working + working is greater or equal to numbers of proxy then exit
Simply wait until not working + working is greater or equal to numbers of proxy then exit
function WaitNStop() {
    setInterval(() => {
        if (client.not_working + client.working >= client.n_proxy) {
            console.log(chalk.hex('#388E3C')('DONE !\nWORKING: ' + client.working + '\nBAD: ' + client.not_working));
            process.exit(0)
        }
    });
}
function WaitNStop ( ) { setInterval ( ( ) => { if ( client . not_working + client . working >= client . n_proxy ) { console . log ( chalk . hex ( '#388E3C' ) ( 'DONE !\nWORKING: ' + client . working + '\nBAD: ' + client . not_working ) ) ; process . exit ( 0 ) } } ) ; }
Simply wait until not working + working is greater or equal to numbers of proxy then exit
Simply wait until not working + working is greater or equal to numbers of proxy then exit