to Map
Returns a Single that emits a Map containing all elements emitted by the finite source Observable, associated with keys returned by keySelector.
⚠️ Warning: if the emitted Map becomes frozen somewhere in the downstream in Kotlin/Native, then the operator will copy the Map on next iteration, which can significantly affect performance.
Please refer to the corresponding RxJava document.
Returns a Single that emits a Map containing all elements emitted by the finite source Observable, transformed by valueSelector and associated with keys returned by keySelector.
⚠️ Warning: if the emitted Map becomes frozen somewhere in the downstream in Kotlin/Native, then the operator will copy the Map on next iteration, which can significantly affect performance.
Please refer to the corresponding RxJava document.