UNPKG

igniteui-webcomponents

Version:

Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.

19 lines 460 B
class AbortHandle { constructor() { this._controller = new AbortController(); } get signal() { return this._controller.signal; } abort(reason) { this._controller.abort(reason); this._controller = new AbortController(); } reset() { this._controller = new AbortController(); } } export function createAbortHandle() { return new AbortHandle(); } //# sourceMappingURL=abort-handler.js.map