MCPcopy Create free account
hub / github.com/SoHeil-R/google-traffic-bot / stop

Function stop

libs/index.js:191–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189}
190
191async function stop(){
192 var stopcount = 0;
193 var Interval = setInterval(async ()=>{
194 for (var i = 0; i < driverList.length; i++){
195 await driverList[i].driver.quit()
196 driverList.splice(i, 1)
197 }
198 if (stopcount > usedDriver)
199 clearInterval(Interval)
200 stopcount += 1
201 }, 2500)
202}
203
204module.exports = {
205 main: main,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected