Constnium/node_modules/p-try/index.js
2022-06-23 02:27:43 +02:00

4 lines
82 B
JavaScript

'use strict';
module.exports = cb => new Promise(resolve => {
resolve(cb());
});