await.ClusterMQFuture | R Documentation |
Awaits the result of a clustermq future
## S3 method for class 'ClusterMQFuture' await( future, timeout = getOption("future.wait.timeout", 30 * 24 * 60 * 60), delta = getOption("future.wait.interval", 1), alpha = getOption("future.wait.alpha", 1.01), ... )
future |
The future. |
timeout |
Total time (in seconds) waiting before generating an error. |
delta |
The number of seconds to wait between each poll. |
alpha |
A factor to scale up the waiting time in each iteration such
that the waiting time in the k:th iteration is |
... |
Not used. |
Note that await()
should only be called once, because
after being called the actual asynchronous future may be removed
and will no longer available in subsequent calls. If called
again, an error may be thrown.
The FutureResult of the evaluated expression. If an error occurs, an informative Exception is thrown.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.