Closed JordyLangen closed 1 year ago
Off-topic: it looks like the old (Dart 1) syntax is used for the onEvent parameter. See https://dart.dev/guides/language/effective-dart/design#prefer-using-function-type-syntax-for-parameters
Hi @JordyLangen and @spkersten,
Thanks for raising this issue. It looks like support to be able to replay the "queued messages" wasn't added to the Streams feature. We will add this behavior in a future release to match with the Callbacks integration and respond back here when it is released.
Hi @JordyLangen and @spkersten,
We have released Flutter SDK version 2.6.1 which addresses both of the issues raised here.
Thanks!
Some time ago, the "queued messages" was introduced:
Where queued messages got replayed.
Now you've introduced the Stream api, which looks like this:
To prove my point, the following:
prints
2
;Thus, queued messages are not replayed.