<https://www.lukaslechner.com/how-to-run-an-expens...
# coroutines
s
Very nicely written, but you should emphasize that the 'proper way' is indeed only proper way and that the 'interesting way' (having it run on the Main dispatcher) should never be done in actual code 😀. You can still
yield()
when running in the Default dispatcher, enabling early handling of cancellation.
l
Thank you! Yes, I also had the feeling that i did not emphasize enough that the interesting way should not be used. Will add another sentence or two 😉
💯 2