'use strict'; const pTry = (fn, ...arguments_) => new Promise(resolve => { resolve(fn(...arguments_)); }); module.exports = pTry; // TODO: remove this in the next major version module.exports.default = pTry;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
index.d.ts | File | 1.06 KB | 0644 |
|
index.js | File | 211 B | 0644 |
|
license | File | 1.08 KB | 0644 |
|
package.json | File | 1.65 KB | 0644 |
|
readme.md | File | 1.3 KB | 0644 |
|