mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
20 lines
524 B
JavaScript
20 lines
524 B
JavaScript
"use strict";
|
|
/* IMPORT */
|
|
var signal_1 = require("./signal");
|
|
/* ABORT CONTROLLER */
|
|
var AbortController = /** @class */ (function () {
|
|
function AbortController() {
|
|
/* VARIABLES */
|
|
this.signal = new signal_1.default();
|
|
}
|
|
/* API */
|
|
AbortController.prototype.abort = function () {
|
|
return this.signal.abort();
|
|
};
|
|
return AbortController;
|
|
}());
|
|
/* EXPORT */
|
|
module.exports = AbortController;
|
|
module.exports.default = AbortController;
|
|
Object.defineProperty(module.exports, "__esModule", { value: true });
|