Created
August 1, 2021 10:20
-
-
Save abhimuktheeswarar/d7b7c2fa0cac6bf2f19e9b21ef8e59a9 to your computer and use it in GitHub Desktop.
CounterMessage for blog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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