cấu hình chạy lần đầu - chưa thực hiện test

This commit is contained in:
Victor Phan
2026-01-08 12:00:20 +07:00
parent 2f694b5c1c
commit 0bdd0ad2e7
3683 changed files with 285051 additions and 292350 deletions

29
node_modules/asynckit/lib/terminator.js generated vendored Normal file
View File

@@ -0,0 +1,29 @@
var abort = require('./abort.js')
, async = require('./async.js')
;
// API
module.exports = terminator;
/**
* Terminates jobs in the attached state context
*
* @this AsyncKitState#
* @param {function} callback - final callback to invoke after termination
*/
function terminator(callback)
{
if (!Object.keys(this.jobs).length)
{
return;
}
// fast forward iteration index
this.index = this.size;
// abort jobs
abort(this);
// send back results we have so far
async(callback)(null, this.results);
}