toList

Returns a Single that emits a List containing all elements emitted by the finite source Observable.

⚠️ Warning: if the emitted List becomes frozen somewhere in the downstream in Kotlin/Native, then the operator will copy the List on next iteration, which can significantly affect performance.

Please refer to the corresponding RxJava document.