LedgerHQ/ledger-live-common

improve promiseAllBatched to cap the max concurrent

gre opened this issue · 0 comments

gre commented

in current impl of promiseAllBatched we will do things by batch BUT we wait all promises of one batch to complete before moving to next batch. an optim of that is to do new promise calls each time one resolve.