Files
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

10 lines
211 B
JavaScript

'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;