Please use req_perform_parallel()
instead, and note:
cancel_on_error = FALSE
is nowon_error = "continue"
cancel_on_error = TRUE
is nowon_error = "return"
Arguments
- reqs
A list of requests.
- paths
An optional character vector of paths, if you want to download the request bodies to disk. If supplied, must be the same length as
reqs
.- pool
Optionally, a curl pool made by
curl::new_pool()
. Supply this if you want to override the defaults for total concurrent connections (100) or concurrent connections per host (6).- cancel_on_error
Should all pending requests be cancelled when you hit an error? Set this to
TRUE
to stop all requests as soon as you hit an error. Responses that were never performed beNULL
in the result.