Created
August 26, 2020 22:44
-
-
Save GianpaMX/5c64a45fa1b020cb7f3f5af28798444a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
suspend operator fun invoke(): State? = when { | |
transitionApi.getLastTransition() == null -> State.IDLE.also { | |
transitionApi.newTransition(timeApi.now(), it) | |
} | |
else -> null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment