ofetch icon indicating copy to clipboard operation
ofetch copied to clipboard

refactor: use `AbortSignal.timeout` instead of `AbortController` and `setTimeout`

Open zhings opened this issue 2 years ago • 1 comments

AbortSignal.timeout() is more simple, and no need to clearTimeout().

zhings avatar Oct 27 '23 08:10 zhings

Thanks! Checking if we need any more polyfills for legacy node.

pi0 avatar Oct 27 '23 11:10 pi0