summaryrefslogtreecommitdiff
path: root/ext/fetch/lib.rs
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-10-17 04:29:16 -0700
committerGitHub <noreply@github.com>2022-10-17 16:59:16 +0530
commit4c9dd33e27d31a0f6f8f26e043fbfbefa84db0f2 (patch)
tree43073429e2f8ca3d3bef2aa3bc0378ebf016a118 /ext/fetch/lib.rs
parente41af14b2a5e7643e4d4e882b20a828ef0104757 (diff)
perf(ext/web): optimize timer cancellation (#16316)
Towards #16315 It created a bunch of Error objects and rejected the promise. This patch changes `op_sleep` to resolve with `true` if it was cancelled.
Diffstat (limited to 'ext/fetch/lib.rs')
0 files changed, 0 insertions, 0 deletions