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 /
p-finally /
Delete
Unzip
Name
Size
Permission
Date
Action
index.js
302
B
-rw-r--r--
2022-01-10 12:20
license
1.09
KB
-rw-r--r--
2022-01-10 12:20
package.json
1.64
KB
-rw-r--r--
2022-01-10 12:20
readme.md
949
B
-rw-r--r--
2022-01-10 12:20
Save
Rename
# p-finally [](https://travis-ci.org/sindresorhus/p-finally) > [`Promise#finally()`](https://github.com/tc39/proposal-promise-finally) [ponyfill](https://ponyfill.com) - Invoked when the promise is settled regardless of outcome Useful for cleanup. ## Install ``` $ npm install --save p-finally ``` ## Usage ```js const pFinally = require('p-finally'); const dir = createTempDir(); pFinally(write(dir), () => cleanup(dir)); ``` ## API ### pFinally(promise, [onFinally]) Returns a `Promise`. #### onFinally Type: `Function` Note: Throwing or returning a rejected promise will reject `promise` with the rejection reason. ## Related - [p-try](https://github.com/sindresorhus/p-try) - `Promise#try()` ponyfill - Starts a promise chain - [More…](https://github.com/sindresorhus/promise-fun) ## License MIT © [Sindre Sorhus](https://sindresorhus.com)