Skip to content

Instantly share code, notes, and snippets.

@gabrielkirsten
Created August 11, 2020 12:04
Show Gist options
  • Save gabrielkirsten/231db502d83290467d9496b07534d637 to your computer and use it in GitHub Desktop.
Save gabrielkirsten/231db502d83290467d9496b07534d637 to your computer and use it in GitHub Desktop.
suspend fun addTen(n: Int): Int {
delay(1000)
return n + 10
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment