GitHub

API reference for abort.

Aborting a request in flight (the AbortController / AbortSignal pair Effect's clients use).

A client backend gets the request's AbortSignal and listens on it: the signal fires when the request is interrupted, when an unread response is garbage collected, when its stream ends or when its with_scope scope closes. Listeners run once, on the thread that aborts.

Classes