if you want the block passed to myFun to terminate...
# coroutines
a
if you want the block passed to myFun to terminate the loop early, why not just have it throw an exception? esp since that's what cancellation would amount it, and it would make sense when reading it