multi_req_perform {httr2} | R Documentation |
Perform a list of requests in parallel
Description
Please use req_perform_parallel()
instead, and note:
-
cancel_on_error = FALSE
is nowon_error = "continue"
-
cancel_on_error = TRUE
is nowon_error = "return"
Usage
multi_req_perform(reqs, paths = NULL, pool = NULL, cancel_on_error = FALSE)
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 |
pool |
Optionally, a curl pool made by |
cancel_on_error |
Should all pending requests be cancelled when you
hit an error? Set this to |
[Package httr2 version 1.0.4 Index]