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
You are experiencing the so-called group abandonment. Groups produced by groupBy require an immediate subscription otherwise it can lead to hangs (with Flowable) or excess memory usage (with Observable). concat delays these subscriptions to one at a time.
Note also that ignoring groups or subscribing later (i.e., on another thread) will result in so-called group abandonment where a group will only contain one element and the group will be re-created over and over as new upstream items trigger a new group. The behavior is a trade-off between no-dataloss, upstream cancellation and excessive group creation.
So you'll have to merge the groups or collect each group then re-emit them later
Flowable has the same problem too.
vesion i use: 1.3.6
here is the code sample
the result on console print
The text was updated successfully, but these errors were encountered: