Description Usage Arguments Details See Also Examples
Wait and block for the results to be generated for the pending sleigh job.
If the job has completed, then waitSleigh returns immediately with
the generated results.
1 2 | ## S4 method for signature 'sleighPending'
waitSleigh(.Object)
|
.Object |
a |
The sleighPending class object, .Object, is usually obtained
from the return value of non-blocking eachElem or non-blocking
eachWorker.
1 2 3 4 5 6 7 | ## Not run:
s = sleigh()
eo = list(blocking=0)
sp = eachWorker(s, function() {Sys.sleep(100)}, eo=eo)
waitSleigh(sp) # wait on workers. Each worker sleeps for 100 seconds
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.