Created
September 22, 2020 14:27
-
-
Save jaozinfs/d95c333d81ec6de3d34f4e805d5bd55a to your computer and use it in GitHub Desktop.
Inicia um flow e printa os resultados coletados
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
GlobalScope.launch { | |
increase(DEFAULT_DELAY).collect { currentValue-> | |
print("Current value: $currentValue") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment