Step into Swift logo

What is the Merge MaxConcurrent Operator in RxSwift?

Merge MaxConcurrent Operator

RxSwift: MergeMaxConcurrent Operator


  • Keeps subscribing to incoming sequences until it reaches the max concurrent limit.
  • Same functionality as the merge operator, concatenating multiple Observables, however maxConcurrent parameter allows a limit of the number of subscribe-able Observables.
  • Useful for resource intensive situations like making a lot of network requests and limiting the number of concurrent outgoing connections.

merge(maxConcurrent: 2)


< All Posts