3
¿Es un anti-patrón usar async / await dentro de un nuevo constructor Promise ()?
Estoy usando la async.eachLimitfunción para controlar el número máximo de operaciones a la vez. const { eachLimit } = require("async"); function myFunction() { return new Promise(async (resolve, reject) => { eachLimit((await getAsyncArray), 500, (item, callback) => { // do other things that use native promises. }, (error) => { if …