Join Slack
Communities
Powered by
if you want the block passed to myFun to terminate...
# coroutines
a
araqnid
12/18/2017, 4:25 PM
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
Open in Slack
Previous
Next