Does RxPy have a convenient flatten
operator which is equivalent to flat_map(identity)
? Or have flat_map
's selector
default to identity
?
Asked
Active
Viewed 218 times
1

mchen
- 9,808
- 17
- 72
- 125
1 Answers
2
From Dag Brattli
You can use .merge_all().

mchen
- 9,808
- 17
- 72
- 125
-
Is this any different from `.flat_map(lambda x: x)`? Or is it just shorter to type? – Mateen Ulhaq Jan 02 '21 at 04:29