RxSwift: Amb Operator
.amb()
- Stands for ambiguous operator.
- Given two or more Observables, only emit elements from the first Observable to emit an element / event.
- Waits for an Observable to emit and unsubscribes from the others.
- Only replays elements from the first active observable.
----1-----------3-----------5---->
------6---7----8----9------------>
--------2-----4------------------>
amb
----1------------3----------5---->
< All Posts