Changelog
Source:NEWS.md
Version (development version)
New Features
Now ‘mirai’ futures can be canceled using
cancel()
, which also interrupts them by default, which in turn frees up compute resources sooner. Map-reduce API such as future.apply, doFuture, and furrr can take advantage of this by canceling all non-resolved futures whenever they detect an error in one of the futures. Also, canceled futures can bereset()
and thereafter relaunched, possibly on another future backend.Now ‘mirai_multisession’ futures relay
immediateCondition
:s in near real-time, e.g.progression
conditions signals by the progressr package.
Version 0.2.2
CRAN release: 2024-07-03
Miscellaneous
- Internal updates for mirai (>= 1.1.0), e.g.
mirai::daemons()
argumentresilience
is being removed.
Version 0.2.1
CRAN release: 2024-05-15
Bug Fix
-
nbrOfWorkers()
andnbrOfFreeWorkers()
did not handle mirai dispatcher errors. Because those are integers, these functions would return the error integer value instead of giving aFutureError
.