/** Returns a function that calls `afterFn` with the result of, and arguments of
* `fn`. */export function callAfterAsync(fn, afterFn) {
returnasync (...args) => {
const result = await fn(...args);
returnawait afterFn(result, ...args);
};
}
//# sourceMappingURL=callAfterAsync.js.map