Contact emailsshase...@chromium.org

Explainerhttps://github.com/whatwg/dom/pull/1032#issue-1058779111

Specificationhttps://github.com/whatwg/dom/pull/1032

Summary

Returns a new AbortSignal object that is automatically aborted after a
given number of milliseconds. This method can be used by developers to
easily implement timeouts for signal-accepting async APIs, e.g. fetch().


Blink componentBlink>DOM
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EDOM>

Motivation

The main motivating use case for this is helping web developers easily time
out async operations, such as fetch(). For example, now you can write:
fetch(url, { signal: AbortSignal.timeout(10_000) });


Initial public proposal

TAG reviewhttps://github.com/w3ctag/design-reviews/issues/711

TAG review statusPending

Risks


Interoperability and Compatibility



Gecko: No signal

WebKit: No signal

Web developers: No signals

Other signals:


Debuggability

Basic tooling only, i.e. autocomplete support for the new AbortSignal
method will be provided.


Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md>
?No

Flag name

Requires code in //chrome?False

Tracking bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1181925

Launch bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1292159

Estimated milestones

No milestones specified


Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5768400507764736

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKXGoJ21UGV-atHU38es8AtFC4tYX7PQrMCoq-zObxo36z4ELQ%40mail.gmail.com.

Reply via email to