
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
8 lines
157 B
Text
8 lines
157 B
Text
[Exposed=(Window,Worker)]
|
|
interface AbortController {
|
|
constructor();
|
|
|
|
[SameObject] readonly attribute AbortSignal signal;
|
|
|
|
undefined abort();
|
|
};
|