Open chalin opened 8 years ago
I noted a similar issue with RxJS 5 switchMap
, see https://github.com/ReactiveX/rxjs/issues/1855. In that case too adding a delay "adjusted" the behavior too (as is done in #36). Maybe it is a question of event scheduling here as well, but I figured it might be easier to just tweak the example.
The example is:
Running this sample code actually prints both 2 and 3, just like for
FlatMap
. Is this due to a bug inFlatMapLatest
or bad sample code?I'm running Dart 1.18.0 under macOS 10.11.