| waitForFile | R Documentation |
Polls checkFile at a fixed interval until the translation
reaches a terminal state ("success", "failed", or
"timeout").
waitForFile(urn, token, interval = 5, timeout = 300, verbose = TRUE)
urn |
A string. Base64-encoded source URN. |
token |
A string or |
interval |
Seconds between polls. Defaults to |
timeout |
Maximum seconds to wait before aborting. Defaults to
|
verbose |
If |
The final checkFile response object.
## Not run:
myEncodedUrn <- jsonlite::base64_enc(myUrn)
resp <- translateSvf(urn = myEncodedUrn, token = myToken)
done <- waitForFile(urn = myEncodedUrn, token = myToken)
done$content$status
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.