Please use req_perform_parallel()
instead, and note:
cancel_on_error = FALSE
is now on_error = "continue"
cancel_on_error = TRUE
is now on_error = "return"
multi_req_perform(reqs, paths = NULL, pool = NULL, cancel_on_error = FALSE)
A list of requests.
An optional list of paths, if you want to download the request
bodies to disks. If supplied, must be the same length as reqs
.
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).
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 be NULL
in the result.