That'll print ``` main IO (some worker thread nam...
# arrow
s
That'll print
Copy code
main
IO (some worker thread name)
main
The first main depends on the actual thread that starts the execution but you can force this on main by using
IO.unit.continueOn(Main).flatMap
or by importing
shift
from
arrow.effects.extensions.io.concurrent.shift
if memory serves me right and do
Main.shift().flatMap {