Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CounterMessage for blog
sealed interface CounterMessage
object IncrementCounter : CounterMessage
object DecrementCounter : CounterMessage
class GetCounterState(val deferred: CompletableDeferred<CounterState>) : CounterMessage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment