UNPKG

async

Version:

Higher-order functions and common patterns for asynchronous code

11 lines (8 loc) 217 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (fn, ...args) { return (...callArgs) => fn(...args, ...callArgs); }; module.exports = exports.default;