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
@sockeqwe Any objections against closing this since we are adding the condition block and also are deprecating the additional condition overload from isInState?
We already have
inState<S>(additionalCondition = { ... })
and maybe it would be useful to addadditionalCondition
also toon<Action>
.Use case:
FlowRedux/sample/shared_code/src/commonMain/kotlin/com/freeletics/flowredux/sample/shared/MarkAsFavoriteStateMachine.kt
Lines 51 to 59 in 1387be5
Where the
on<Action>
block should actually only be triggered whenaction.id == someId
Just leaving it here for a potential future addition / improvement.
The text was updated successfully, but these errors were encountered: