@mg6maciej Thanks for showing me this channel, my question from the other one:
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()