I have a question similar to this: Asynchronous API calls with curl
Is there a way to do the similar process but with image_read. I have an Rmarkdown file that is pulling 16 images from an API and I'd like to be able to do them asynchronously rather than one by one.
image<- image_read(paste0("https://rconnect/etcetc/startDate=",startDate,
"&endDate=",endDate
))
I'm essentially making an rmarkdown file that will be published as its own API, it calls various other APIs to create images. These images are plotted once called, so it's not an immediate image pull. Due to this, I'd like to be able to call all of them at the same time to decrease hang time of the rmarkdown file.