Skip to content

Instantly share code, notes, and snippets.

@jshvarts
Created June 7, 2020 03:20
Show Gist options
  • Save jshvarts/90a470d671b3617092033105780a11fa to your computer and use it in GitHub Desktop.
Save jshvarts/90a470d671b3617092033105780a11fa to your computer and use it in GitHub Desktop.
fun logCoroutine(message: String, coroutineContext: CoroutineContext) {
println("coroutine is executing on thread : ${Thread.currentThread().name} : $message : $coroutineContext")
}
@jshvarts
Copy link
Author

jshvarts commented Jun 7, 2020

logCoroutine("test", coroutineContext)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment