grafana / k6-jslib-aws

Javascript Library allowing to interact with AWS resources from k6 scripts
Apache License 2.0
18 stars 29 forks source link

Make the client classes' methods asynchronous #54

Closed oleiade closed 1 year ago

oleiade commented 1 year ago

This Pull Request addresses #41

It modifies all the client classes' public methods to be asynchronous, uses the async/await syntax, and returns promises as a default.

⚠️ This is a breaking change, and the asynchronous ones effectively supersede the existing synchronous APIs. Scripts use the last synchronous version would break if they switched to using a build of a version including this change.