value.Future: The value of a future
Description
Gets the value of a future. If the future is unresolved, then
the evaluation blocks until the future is resolved.Usage
## S3 method for class 'Future':
value(future, onError = c("signal", "return"), ...)
Arguments
onError
A character string specifying how errors
(conditions) should be handled in case they occur.
If "signal"
, the error is signalled, e.g. captured
and re-thrown. If instead "return"
, the Value
- An R object of any data type.
Details
This method needs to be implemented by the class that implement
the Future API.