Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
// the execute method signature is the same for both implementations,
// so you can easy switch from one to another
pool
- .execute({})
+ .execute()
.then(res => {
console.info(res)
})
const iterations = 1000
for (let i = 1; i <= iterations; i++) {
pool
- .execute({})
+ .execute()
.then(() => {
resolved++
if (resolved === iterations) {
const iterations = 1000
for (let i = 1; i <= iterations; i++) {
pool
- .execute({})
+ .execute()
.then(() => {
resolved++
if (resolved === iterations) {