Skip to content

Timeout AbortSignal (or AbortController) that gets input from the operation #1082

@annevk

Description

@annevk

Both whatwg/fetch#179 and whatwg/fetch#180 explain a desire for a timeout, but either the countdown gets reset based on networking activity (new chunk received) or it gets cancelled based on that (server was responsive within the allowed time).

Is that something fetch() should offer on its own or is there some decomposition of responsibility that could make sense here, whereby fetch() gets access to resetting or cancelling the timer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: abortingAbortController and AbortSignal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions