resolved.Future: Check whether a future is resolved or not
Description
Check whether a future is resolved or notUsage
## S3 method for class 'Future':
resolved(future, ...)
Value
- TRUE if future is resolved and FALSE if unresolved.
Details
This method needs to be implemented by the class that implement
the Future API. The implementation must never throw an error,
but only return either TRUE or FALSE.
It should also be possible to use the method for polling the
future until it is resolved (without having to wait infinitly long),
e.g. while (!resolved(future)) Sys.sleep(5)
.