MCPcopy
hub / github.com/axios/axios / asyncDecorator

Function asyncDecorator

lib/helpers/progressEventReducer.js:52–54  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

50
51export const asyncDecorator =
52 (fn) =>
53 (...args) =>
54 utils.asap(() => fn(...args));

Callers 2

factoryFunction · 0.90
http.jsFile · 0.90

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected