material_manage_system/frontend/node_modules/p-limit/async-hooks-stub.js
2026-09-15 16:08:18 +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();
}
}