"use strict";
// The 'signal-exit' package is browser safe.
// Do NOT defer loading, otherwise mystery errors may occur at the end of the
// event loop.
const signal_exit_1 = require("../signal-exit");
const abortController = new AbortController();
// Detect ^C, i.e. Ctrl + C.
(0, signal_exit_1.onExit)((_code, _signal) => {
    abortController.abort();
});
module.exports = abortController;
//# sourceMappingURL=abort-controller.js.map