Is there a way to define the behavior of a corouti...
# android
d
Is there a way to define the behavior of a coroutine, but not to directly start it?
Copy code
Directly starting:

val job = launch(UI) {
    doSomething()
}

I want 

... val job = ...initialize job

then later

job.start()