A promise library for R.
devtools::install_github("rstudio/promises")
Neither the CRAN nor GitHub master branch versions of Shiny support promises. Until support is merged, you'll have to install from this branch:
devtools::install_github("rstudio/shiny@async")
MIT