Abstractions for Promise-Based Asynchronous Programming

Provides fundamental abstractions for doing asynchronous programming in R using promises. Asynchronous programming is useful for allowing a single R process to orchestrate multiple tasks in the background while also attending to something else. Semantics are similar to 'JavaScript' promises, but with a syntax that is idiomatic R.


Build Status

A promise library for R. https://rstudio.github.io/promises

Installation

devtools::install_github("rstudio/promises")

The CRAN version of Shiny doesn't (yet) support promises. Until support is merged, you'll have to install from GitHub:

devtools::install_github("rstudio/shiny")

License

MIT

News

promises 1.0

  • Initial CRAN release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("promises")

1.0.1 by Joe Cheng, 9 months ago


https://rstudio.github.io/promises, https://github.com/rstudio/promises


Report a bug at https://github.com/rstudio/promises/issues


Browse source code at https://github.com/cran/promises


Authors: Joe Cheng [aut, cre] , RStudio [cph, fnd]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports R6, Rcpp, later, rlang, stats, magrittr

Suggests testthat, future, knitr, rmarkdown

Linking to later, Rcpp


Imported by DT, discoveR, httpuv, plotly, shiny, shinydashboard, shinyrecap, skpr.

Suggested by condformat, ipc.


See at CRAN