I am calling a rest api with a rate limit of 300 per minute, is their a simple way in retool to do that or do I need to rewrite my query? If so can somebody help me
const arr = getean.data;
const eanValues = arr.map((item) => item.ean);
const promises = eanValues.map((ean) => {
return eanloop.trigger({
additionalScope: {
ean: ean,
},
});
});
return Promise.all(promises);