Remove abortAfterTimeout

It's fundamentally flawed because it doesn't support easy cancellation of the timeout.
This commit is contained in:
Justin Spahr-Summers 2024-11-16 16:18:35 +00:00
commit 53f55b8edf
No known key found for this signature in database

View file

@ -48,8 +48,6 @@ export type RequestOptions = {
/**
* Can be used to cancel an in-flight request. This will cause an AbortError to be raised from request().
*
* Use abortAfterTimeout() to easily implement timeouts using this signal.
*/
signal?: AbortSignal;
};