mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
The DOM specification says that the primary use case for these is to give Promises abort semantics. It is also a prerequisite for Fetch, as it is used to make Fetch abortable. a
9 lines
209 B
Plaintext
9 lines
209 B
Plaintext
[Exposed=(Window,Worker)]
|
|
interface AbortSignal : EventTarget {
|
|
// FIXME: [NewObject] static AbortSignal abort();
|
|
|
|
readonly attribute boolean aborted;
|
|
|
|
// FIXME: attribute EventHandler onabort;
|
|
};
|