mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
feat(ext/web): Add AbortSignal.timeout()
(#13687)
This commit is contained in:
parent
5eb0e4c2df
commit
9f494dc405
5 changed files with 126 additions and 10 deletions
1
ext/web/lib.deno_web.d.ts
vendored
1
ext/web/lib.deno_web.d.ts
vendored
|
@ -307,6 +307,7 @@ declare var AbortSignal: {
|
|||
prototype: AbortSignal;
|
||||
new (): AbortSignal;
|
||||
abort(reason?: any): AbortSignal;
|
||||
timeout(milliseconds: number): AbortSignal;
|
||||
};
|
||||
|
||||
interface FileReaderEventMap {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue