Auto re-tries #169
-
An update in This doesn't break any of your tests, but it is a change in behaviour so just checking in here with you. I forget if you still make use of this, or actually if this makes things easier for you. The previous behaviour was that (assuming dispatcher) if a task crashes that the 'mirai' will remain unresolved. This behaviour isn't too helpful / transparent to a user as they would assume by default that it's still ongoing. You would need to know to check In particular, this also doesn't help with a use case like library(mirai)
daemons(3)
m <- mirai_map(list(a = "1", b = "2", c = "q()"), function(x) eval(str2lang(x)))
m[] The new behaviour explicitly returns an If you have a valid use case for the old behaviour, just let me know and it shouldn't be a problem to enable via an argument (I'll then delay switching the default so it is non-breaking for |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I've now re-introduced the option at This will default to TRUE for the next release, and I haven't fully decided if this will change in the future, but |
Beta Was this translation helpful? Give feedback.
Thank for doing that. After the next
mirai
release, I will set a default ofTRUE
forcrew
and allow users to set it toFALSE
for debugging purposes (c.f. #170).