Memoization for standard async functions: function fn(callback){ callback(err, res); }; mymoize(fn)() => {getRes(), getErr()}