Skip to content

Allow controlling concurrent requests #48

@bergos

Description

@bergos

It could be useful to control the maximum concurrent requests to avoid overloading an endpoint. A wrapper for fetch should be used that blocks the async code call until a new connection is available. It should be possible for multiple clients to use the same fetch instance to share the request limit.

  • A fetch wrapper to control concurrent requests is added
  • The requests and requests limits are shared over multiple client instances

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions