| foundry_batch_wait | R Documentation |
Poll a batch until it reaches a terminal state.
foundry_batch_wait(
batch_id,
interval = 60,
timeout = Inf,
api_key = NULL,
token = NULL,
endpoint_url = NULL,
api_version = NULL
)
batch_id |
Character. Batch ID to poll. |
interval |
Numeric. Seconds between polling attempts. |
timeout |
Numeric. Maximum seconds to wait. Use |
api_key |
Character. Optional API key override. |
token |
Character. Optional bearer token override. |
endpoint_url |
Character. Optional Foundry endpoint override. |
api_version |
Character. Optional API version query value. |
The final one-row batch tibble.
## Not run:
# Requires a configured Azure endpoint and credentials,
# plus an existing batch ID. Polling may run for longer than five seconds.
foundry_batch_wait("batch_abc123", interval = 60)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.