I have a Shiny app that produces a PDF file using rmarkdown. Because some of the code takes a little to load, the PDF can sometimes take upward of 5 seconds to be generated before the download kicks in.
Is it possible to create a UI for the shiny downloadHandler or at least post a message that says that the file is being produced? Currently, when clicking the downloadButton, a new tab is opened (in chrome) while the script is processed.