Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.133.113.227
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
node_modules /
pend /
Delete
Unzip
Name
Size
Permission
Date
Action
LICENSE
1.06
KB
-rw-r--r--
2014-08-20 22:56
README.md
973
B
-rw-r--r--
2014-11-23 21:48
index.js
1.08
KB
-rw-r--r--
2014-11-23 21:47
package.json
1.16
KB
-rw-r--r--
2021-05-07 15:02
test.js
2.39
KB
-rw-r--r--
2014-11-23 21:50
Save
Rename
# Pend Dead-simple optimistic async helper. ## Usage ```js var Pend = require('pend'); var pend = new Pend(); pend.max = 10; // defaults to Infinity setTimeout(pend.hold(), 1000); // pend.wait will have to wait for this hold to finish pend.go(function(cb) { console.log("this function is immediately executed"); setTimeout(function() { console.log("calling cb 1"); cb(); }, 500); }); pend.go(function(cb) { console.log("this function is also immediately executed"); setTimeout(function() { console.log("calling cb 2"); cb(); }, 1000); }); pend.wait(function(err) { console.log("this is excuted when the first 2 have returned."); console.log("err is a possible error in the standard callback style."); }); ``` Output: ``` this function is immediately executed this function is also immediately executed calling cb 1 calling cb 2 this is excuted when the first 2 have returned. err is a possible error in the standard callback style. ```