@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.