unresolved
or resolved
, a state which can be checked
with resolved()
. As long as it is unresolved, the
value is not available. As soon as it is resolved, the value
is available via value()
.
Future(expr = NULL, envir = parent.frame(), substitute = FALSE, local = TRUE, gc = FALSE, earlySignal = FALSE, label = NULL, ...)
local
is TRUE).expr
is
substitute()
:ed, otherwise not.Future
.
future()
.
It returns a Future that evaluates an R expression in the future.
An alternative approach is to use the %<-%
infix
assignment operator, which creates a future from the
right-hand-side (RHS) R expression and assigns its future value
to a variable as a promise.