JewelryMall/node_modules/p-limit/async-hooks-stub.js
2026-02-14 19:29:15 +08:00

16 lines
216 B
JavaScript

export const AsyncResource = {
bind(fn, _type, thisArg) {
return fn.bind(thisArg);
},
};
export class AsyncLocalStorage {
getStore() {
return undefined;
}
run(_store, callback) {
return callback();
}
}