Skip to content

Instantly share code, notes, and snippets.

@GuilhE
Last active February 5, 2022 20:05
Show Gist options
  • Save GuilhE/426a809beaf41a0161cd4467e477c12a to your computer and use it in GitHub Desktop.
Save GuilhE/426a809beaf41a0161cd4467e477c12a to your computer and use it in GitHub Desktop.
Medium articles - MVI+FSM
sealed class SideEffect {
object SetTimer : SideEffect()
class TimerReady(val value: Int) : SideEffect()
object StartCountDown : SideEffect()
object Restarting : SideEffect()
object Pause : SideEffect()
object Stop : SideEffect()
object Reset : SideEffect()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment