@sap-cloud-sdk/resilience
TypeScript icon, indicating that this package has built-in type declarations

3.14.0 • Public • Published

SAP Cloud SDK for JavaScript Logo

@sap-cloud-sdk/resilience

This package contains implementations for the resilience middlewares like a timeout or circuit breaker middleware. This concept of middlewares is totally generic, and you can use it for non-resilience use cases.

Installation

$ npm install @sap-cloud-sdk/resilience

Usage

Add a timeout middleware to a request.

executeHttpRequest(destination, { middleware: [ timeout() ] }, httpRequestOptions);

For more detailed overview visit our resilience documentation.

Support

The recommended way to get in touch with us is to create an issue on GitHub. Select the issue category Bug, Feature, or Question depending on the nature of your request. We try to provide fixes, features and answers as soon as possible.

Contribute

If you would like to contribute to the SAP Cloud SDK, please make yourself familiar with our contributing guidelines and follow the given instructions.

Links

License

The SAP Cloud SDK is released under the Apache License Version 2.0.

Package Sidebar

Install

npm i @sap-cloud-sdk/resilience

Weekly Downloads

20,954

Version

3.14.0

License

Apache-2.0

Unpacked Size

29.4 kB

Total Files

25

Last publish

Collaborators

  • tomfrenken
  • deekshas8
  • frankessenberger
  • jjtang
  • marikaner