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
Renaming observeWhileInState() to collectWhileInState to be more aligned with flow.collect { ... }
Another interesting question would be though if we should do the same with
storewide observe(flow). Should it be renamed to collect(flow) which is could be misleading since flow.collect {...} is the way to call it. An alternative option is to rename observe(flow) to collectWhileStateMachineRuns(flow) or something like that.
The text was updated successfully, but these errors were encountered:
Renaming
observeWhileInState()
tocollectWhileInState
to be more aligned withflow.collect { ... }
Another interesting question would be though if we should do the same with
storewide
observe(flow)
. Should it be renamed tocollect(flow)
which is could be misleading sinceflow.collect {...}
is the way to call it. An alternative option is to renameobserve(flow)
tocollectWhileStateMachineRuns(flow)
or something like that.The text was updated successfully, but these errors were encountered: