Created
August 27, 2020 21:53
-
-
Save lelandrichardson/86e7c168d59d15540f77cf701f3a9e25 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
// function declaration | |
suspend fun MyFun() { … } | |
// lambda declaration | |
val myLambda = suspend { … } | |
// function type | |
fun MyFun(myParam: suspend () -> Unit) { … } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment