nl_tokens: / * Function addToDB that accept a single jobSerialInterface type object or an array of jobSerialInterface type object
pl_tokens: function addToDB ( data , nameDB , accountName , passwordDB , addressDB , portDB , proxyBool ) { return __awaiter ( this , void 0 , void 0 , function * ( ) { let docList = Array . isArray ( data ) ? data : [ data ] ; let arrayData = docList . length > 500 ? arraySplit ( docList , 500 ) : docList ; for ( let elem of arrayData ) { let addObj = <mask> addData ( elem , nameDB , accountName , passwordDB , addressDB , portDB , proxyBool ) ; yield addObj . three_curl ( ) ; } ; } ) ; }