Unit_AI/node_modules/abort-controller/browser.mjs
2024-06-01 16:24:36 -04:00

11 lines
337 B
JavaScript

/*globals self, window */
/*eslint-disable @mysticatea/prettier */
const { AbortController, AbortSignal } =
typeof self !== "undefined" ? self :
typeof window !== "undefined" ? window :
/* otherwise */ undefined
/*eslint-enable @mysticatea/prettier */
export default AbortController
export { AbortController, AbortSignal }