Stop evaluation of a mirai that is in progress.
stop_mirai(aio)
a 'mirai' object.
Invisible NULL.
Stops the asynchronous operation associated with the mirai by
aborting, and then waits for it to complete or to be completely aborted.
The mirai is then deallocated and attempting to access the value at
$data
will result in an error.
if (interactive()) {
# Only run examples in interactive R sessions
s <- mirai(Sys.sleep(n), n = 5)
stop_mirai(s)
}