You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is broken for RxPY 4.0.4. Instead of printing the output it prints nothing, which is due to the on_error handler being called. Once hooked it states that Future is not iterable.
Describe the bug
Maybe I'm not seeing something, but I believe the example
https://github.com/ReactiveX/RxPY/blob/master/examples/parallel/timer.py
is broken for RxPY 4.0.4. Instead of printing the output it prints nothing, which is due to the
on_error
handler being called. Once hooked it states thatFuture is not iterable
.To Reproduce
python timer.py
Expected behavior
See output
Fix
I believe the correct code should read
Additional context
Question
Why is
flat_map
used in this context. Does it enable parallel features in some way compared tomap
?The text was updated successfully, but these errors were encountered: