简体   繁体   中英

Flatmap concurrency limit (like bacon.js)?

I'm looking at the RxJS docs for something like bacon's flatMapWithConcurrencyLimit , but don't see anything. Any idea if it's available in Rx or not?

In Rx.NET there's a Merge operator that accepts a maximum concurrency parameter. Essentially, its semantics are the same as SelectMany (aka, FlatMap ) with a concurrency limit.

It seems that Rx.JS defines this overload as well: merge .

a simpler option without pulling an entire library of streams/observables: https://www.npmjs.com/package/queue

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM