@jspm/core
Version:
This package contains the core libraries used in jspm 2.
22 lines (19 loc) • 604 B
JavaScript
function unimplemented () {
throw new Error('Node.js async_hooks module is not supported by JSPM core outside of Node.js');
}
export default {
AsyncLocalStorage: unimplemented,
createHook: unimplemented,
executionAsyncId: unimplemented,
triggerAsyncId: unimplemented,
executionAsyncResource: unimplemented,
AsyncResource: unimplemented
};
export {
unimplemented as AsyncLocalStorage,
unimplemented as createHook,
unimplemented as executionAsyncId,
unimplemented as triggerAsyncId,
unimplemented as executionAsyncResource,
unimplemented as AsyncResource
}