PHP 7.4.33
Preview: abort-controller.d.ts Size: 1020 B
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/abort-controller/dist/abort-controller.d.ts
import { EventTarget } from "event-target-shim"

type Events = {
    abort: any
}
type EventAttributes = {
    onabort: any
}
/**
 * The signal class.
 * @see https://dom.spec.whatwg.org/#abortsignal
 */
declare class AbortSignal extends EventTarget<Events, EventAttributes> {
    /**
     * AbortSignal cannot be constructed directly.
     */
    constructor()
    /**
     * Returns `true` if this `AbortSignal`"s `AbortController` has signaled to abort, and `false` otherwise.
     */
    readonly aborted: boolean
}
/**
 * The AbortController.
 * @see https://dom.spec.whatwg.org/#abortcontroller
 */
declare class AbortController {
    /**
     * Initialize this controller.
     */
    constructor()
    /**
     * Returns the `AbortSignal` object associated with this object.
     */
    readonly signal: AbortSignal
    /**
     * Abort and signal to any observers that the associated activity is to be aborted.
     */
    abort(): void
}

export default AbortController
export { AbortController, AbortSignal }

Directory Contents

Dirs: 0 × Files: 7
Name Size Perms Modified Actions
1020 B lrw-r--r-- 2025-03-28 11:04:34
Edit Download
3.53 KB lrw-r--r-- 2025-03-28 11:04:34
Edit Download
6.21 KB lrw-r--r-- 2025-03-28 11:04:34
Edit Download
3.23 KB lrw-r--r-- 2025-03-28 11:04:34
Edit Download
6.16 KB lrw-r--r-- 2025-03-28 11:04:34
Edit Download
9.05 KB lrw-r--r-- 2025-03-28 11:04:34
Edit Download
36.50 KB lrw-r--r-- 2025-03-28 11:04:34
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).