Skip to content

Add Request Timeout Support #4

Description

@AryanSharma48

A request may hang indefinitely even when retries are configured.

Add configurable timeout support to automatically abort requests that exceed a specified duration.

Example

createResilientFetch({
  timeoutMs: 5000
});

Acceptance Criteria

  • Support configurable timeout values
  • Abort requests after timeout
  • Add unit tests
  • Update documentation
  • Preserve current behavior when timeout is not configured

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions