Constnium/node_modules/p-try/index.js

5 lines
82 B
JavaScript
Raw Permalink Normal View History

2022-06-23 02:27:43 +02:00
'use strict';
module.exports = cb => new Promise(resolve => {
resolve(cb());
});