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 : 18.216.45.133
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
node_modules /
npm /
node_modules /
dezalgo /
Delete
Unzip
Name
Size
Permission
Date
Action
.travis.yml
111
B
-rw-r--r--
2022-01-10 12:20
LICENSE
765
B
-rw-r--r--
2021-10-14 05:50
README.md
651
B
-rw-r--r--
2022-01-10 12:20
dezalgo.js
368
B
-rw-r--r--
2021-10-14 05:50
package.json
3.15
KB
-rw-r--r--
2022-01-10 12:20
Save
Rename
# dezalgo Contain async insanity so that the dark pony lord doesn't eat souls See [this blog post](http://blog.izs.me/post/59142742143/designing-apis-for-asynchrony). ## USAGE Pass a callback to `dezalgo` and it will ensure that it is *always* called in a future tick, and never in this tick. ```javascript var dz = require('dezalgo') var cache = {} function maybeSync(arg, cb) { cb = dz(cb) // this will actually defer to nextTick if (cache[arg]) cb(null, cache[arg]) fs.readFile(arg, function (er, data) { // since this is *already* defered, it will call immediately if (er) cb(er) cb(null, cache[arg] = data) }) } ```