[KongchangAI]
Concept

AbortController

A native browser Web API that enables cancellable network requests by passing a signal object to fetch calls. It serves as the standard mechanism in modern web applications for managing the lifecycle of in-flight requests.

Timeline (last 90 days)

Oct 19

AbortController is a cancellation primitive built into browsers and Node.js (v15+); bound to fetch's signal option, it can immediately reject a pending request with an AbortError on timeout.

Unverified50%
Oct 19

Promise.race only makes the outer layer return early while the underlying connection remains hanging, continuing to consume quota or the connection pool in subsequent requests, so it is less reliable than AbortController.

Unverified50%
Oct 15

Implementing instant cancellation of LLM streaming responses requires an unbroken signal propagation chain: the client's AbortController.abort() triggers HTTP fetch teardown, the gateway detects the socket close via the server context and cancels the upstream request context, and the model inference runtime catches the disconnection, stops autoregressive generation, and releases the KV-cache.

Unverified50%
Oct 13

useObject relies on AbortController to manage the request lifecycle.

Unverified50%
Sep 22

AbortController is a native browser API that enables interruptible network requests by passing a signal to fetch requests.

Unverified50%
Sep 19

Promise.all itself does not cancel other running Promises when one Promise fails; developers need to manually integrate AbortController.

Unverified50%

All Facts (6)

Source Articles