Executing a Queue of Async Tasks with a Max Number Running in Parallel Using RxJS

Andrew Allison
Bits and Pieces
Published in
4 min readJun 1, 2023

--

Photo by Xiangkun ZHU on Unsplash

I have to say the title for this article was pretty hard to phrase correctly but if you’ve arrived here after searching for the key terms then credit to you. This problem can come up in real-world applications and sometimes in interview questions. Let’s say you want to make 10,000 API requests. We can easily build a queue of those 10,000 requests in…

--

--