Step into Swift logo

What is the ToArray Operator in RxSwift?

ToArray Operator

RxSwift: ToArray Operator

.toArray

  • Converts an observable sequence into an array of those elements and emits a .next event containing that array to subscribers.
----7--9-----1--4---->

toArray()

[----7--9-----1--4----]>

< All Posts