abort-controller icon indicating copy to clipboard operation
abort-controller copied to clipboard

Support for `AbortSignal.timeout`

Open KnorpelSenf opened this issue 2 years ago • 1 comments

We can now use the static method AbortSignal.timeout(milliseconds) which will create a signal that gets canceled after a given duration. Spec: https://github.com/whatwg/dom/pull/1032

It would be great to have this supported.

KnorpelSenf avatar Mar 18 '22 07:03 KnorpelSenf

related: https://github.com/nodejs/node/blob/dabda03ea9ef4baab20e3a377a753174475eb468/lib/internal/abort_controller.js#L169

Kikobeats avatar Aug 04 '22 12:08 Kikobeats