Package: promises 1.3.0.9000
promises: 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.
Authors:
promises_1.3.0.9000.tar.gz
promises_1.3.0.9000.zip(r-4.5)promises_1.3.0.9000.zip(r-4.4)promises_1.3.0.9000.zip(r-4.3)
promises_1.3.0.9000.tgz(r-4.4-x86_64)promises_1.3.0.9000.tgz(r-4.4-arm64)promises_1.3.0.9000.tgz(r-4.3-x86_64)promises_1.3.0.9000.tgz(r-4.3-arm64)
promises_1.3.0.9000.tar.gz(r-4.5-noble)promises_1.3.0.9000.tar.gz(r-4.4-noble)
promises_1.3.0.9000.tgz(r-4.4-emscripten)promises_1.3.0.9000.tgz(r-4.3-emscripten)
promises.pdf |promises.html✨
promises/json (API)
NEWS
# Install 'promises' in R: |
install.packages('promises', repos = c('https://posit-dev-shinycoreci.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rstudio/promises/issues
Last updated 2 days agofrom:1cafbd454e. Checks:OK: 9. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 22 2024 |
R-4.5-win-x86_64 | OK | Nov 22 2024 |
R-4.5-linux-x86_64 | OK | Nov 22 2024 |
R-4.4-win-x86_64 | OK | Nov 22 2024 |
R-4.4-mac-x86_64 | OK | Nov 22 2024 |
R-4.4-mac-aarch64 | OK | Nov 22 2024 |
R-4.3-win-x86_64 | OK | Nov 22 2024 |
R-4.3-mac-x86_64 | OK | Nov 22 2024 |
R-4.3-mac-aarch64 | OK | Nov 22 2024 |
Exports:%...!%%...>%%...T!%%...T>%%>%%T>%as.promisecatchfinallyfuture_promisefuture_promise_queueis.promiseis.promisingnew_promise_domainpromisepromise_allpromise_mappromise_racepromise_reducepromise_rejectpromise_resolvethenwith_promise_domain
Advanced future and promises usage
Rendered frompromises_05_future_promise.Rmd
usingknitr::rmarkdown
on Nov 22 2024.Last update: 2023-08-10
Started: 2023-08-07
An informal introduction to async programming
Rendered frompromises_02_intro.Rmd
usingknitr::rmarkdown
on Nov 22 2024.Last update: 2023-08-10
Started: 2023-08-07
Case study: converting a Shiny app to async
Rendered frompromises_08_casestudy.Rmd
usingknitr::rmarkdown
on Nov 22 2024.Last update: 2023-08-10
Started: 2023-08-07
Combining promises
Rendered frompromises_07_combining.Rmd
usingknitr::rmarkdown
on Nov 22 2024.Last update: 2023-08-07
Started: 2023-08-07
Launching tasks with future
Rendered frompromises_04_futures.Rmd
usingknitr::rmarkdown
on Nov 22 2024.Last update: 2024-04-04
Started: 2023-08-07
Using promises with Shiny
Rendered frompromises_06_shiny.Rmd
usingknitr::rmarkdown
on Nov 22 2024.Last update: 2024-04-03
Started: 2023-08-07
Why use promises?
Rendered frompromises_01_motivation.Rmd
usingknitr::rmarkdown
on Nov 22 2024.Last update: 2023-08-10
Started: 2023-08-07
Working with promises in R
Rendered frompromises_03_overview.Rmd
usingknitr::rmarkdown
on Nov 22 2024.Last update: 2023-08-10
Started: 2023-08-07
Readme and manuals
Help Manual
Help page | Topics |
---|---|
'future' promise | future_promise future_promise_queue |
Coerce to a promise | as.promise is.promise is.promising |
Promise pipe operators | %...!% %...>% %...T!% %...T>% pipes |
Create a new promise object | promise |
Combine multiple promise objects | promise_all promise_race |
Promise-aware lapply/map | promise_map |
Promise-aware version of Reduce | promise_reduce |
Create a resolved or rejected promise | promise_reject promise_resolve |
Access the results of a promise | catch finally then |
Promise domains | new_promise_domain with_promise_domain |