I have and array of Http post in angular
peticionesI3.push( ...dataArrayI3.map( data => this.httpService.doPost(url, data, '')) );
and call like this
return this.httpService.doPost(url, data1, '')
.pipe(
switchMap( r => combineLatest( peticionesI2 )),
switchMap( r => combineLatest( peticionesI3 )),
)
This array, peticionesI3, is too bigger and exceeded the maximum calls allowed. How can I divide in blocks of 50, and called each block after the previous one is finished?
Thanks in advance