ladybird/Userland/Libraries/LibWeb/DOM/AbortController.idl
Luke Wilde 1d8f8ea5b1 LibWeb: Add initial support for AbortController and AbortSignal
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
2021-09-02 09:12:17 +02:00

8 lines
157 B
Text

[Exposed=(Window,Worker)]
interface AbortController {
constructor();
[SameObject] readonly attribute AbortSignal signal;
undefined abort();
};