Each click on the button should delay the completion of instantFlow, but this does not happen, the flow will end after a time equal to stopTimeout, ignoring the subscriptions that occur in eventFlow.
Sharing strategies are too sensitive to conflation around extrema and may miss the necessity to start or not to stop the sharing. For more particular examples see #2863 and #2488Fixes#2488Fixes#2863Fixes#2871
From the documentation:
However,
stopTimeout
is not refreshed on new subscriptions. I also asked this question here.Another ephemeral example on Android:
Each click on the button should delay the completion of
instantFlow
, but this does not happen, the flow will end after a time equal tostopTimeout
, ignoring the subscriptions that occur ineventFlow
.I have little experience with kotlin coroutines and I may be doing something wrong. Is this the expected behavior?
The text was updated successfully, but these errors were encountered: