This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fixes lint error
main
Eric Amodio
3 years ago
parent
50e504f9c8
commit
b6352078ec
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/system/decorators/timeout.ts
+ 1
- 1
src/system/decorators/timeout.ts
View File
@ -49,7 +49,7 @@ export function timeout(timeoutOrTimeoutFromLastArg: number | boolean, defaultTi
const
id
=
setTimeout
(
(
)
=
>
{
clearTimeout
(
id
)
;
reject
(
new
CancellationError
(
result
,
`
Timed out after
${
timeout
}
ms
`
)
)
;
}
,
timeout
!
)
;
}
,
timeout
)
;
}
)
,
]
)
;
}
;
Write
Preview
Loading…
Cancel
Save