Package: promises 1.5.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.5.0.9000.tar.gz
promises_1.5.0.9000.zip(r-4.6)promises_1.5.0.9000.zip(r-4.5)promises_1.5.0.9000.zip(r-4.4)
promises_1.5.0.9000.tgz(r-4.6-any)promises_1.5.0.9000.tgz(r-4.5-any)
promises_1.5.0.9000.tar.gz(r-4.6-any)promises_1.5.0.9000.tar.gz(r-4.5-any)
promises_1.5.0.9000.tgz(r-4.5-emscripten)
promises.pdf |promises.html✨
promises/json (API)
NEWS
| # Install 'promises' in R: |
| install.packages('promises', repos = c('https://rstudio.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rstudio/promises/issues
Pkgdown/docs site:https://rstudio.github.io
Last updated from:2f70615f8c. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 118 | ||
| source / vignettes | OK | 167 | ||
| linux-release-x86_64 | OK | 109 | ||
| macos-devel-arm64 | OK | 114 | ||
| macos-release-arm64 | OK | 95 | ||
| windows-devel | OK | 95 | ||
| windows-release | OK | 88 | ||
| windows-oldrel | OK | 88 | ||
| wasm-release | OK | 101 |
Exports:%...!%%...>%%...T!%%...T>%%>%%T>%as.promisecatchfinallyfuture_promisefuture_promise_queuehybrid_thenis.promiseis.promisinglocal_ospan_promise_domainlocal_otel_promise_domainnew_promise_domainpromisepromise_allpromise_mappromise_racepromise_reducepromise_rejectpromise_resolvethenwith_ospan_asyncwith_ospan_promise_domainwith_otel_promise_domainwith_otel_spanwith_promise_domain
Dependencies:clifastmaplaterlifecyclemagrittrotelR6Rcpprlang
Advanced future and promises usage
Rendered frompromises_05b_future_promise.Rmdusingknitr::rmarkdownon Feb 17 2026.Last update: 2025-07-31
Started: 2025-06-26
An informal introduction to async programming
Rendered frompromises_02_intro.Rmdusingknitr::rmarkdownon Feb 17 2026.Last update: 2025-07-31
Started: 2023-08-07
Case study: converting a Shiny app to async
Rendered frompromises_08_casestudy.Rmdusingknitr::rmarkdownon Feb 17 2026.Last update: 2025-07-31
Started: 2023-08-07
Combining promises
Rendered frompromises_07_combining.Rmdusingknitr::rmarkdownon Feb 17 2026.Last update: 2025-07-31
Started: 2023-08-07
Launching tasks with future
Rendered frompromises_05a_futures.Rmdusingknitr::rmarkdownon Feb 17 2026.Last update: 2025-07-01
Started: 2025-06-26
Launching tasks with mirai
Rendered frompromises_04_mirai.Rmdusingknitr::rmarkdownon Feb 17 2026.Last update: 2025-07-31
Started: 2025-06-26
Using promises with Shiny
Rendered frompromises_06_shiny.Rmdusingknitr::rmarkdownon Feb 17 2026.Last update: 2025-07-31
Started: 2023-08-07
Why use promises?
Rendered frompromises_01_motivation.Rmdusingknitr::rmarkdownon Feb 17 2026.Last update: 2023-08-10
Started: 2023-08-07
Working with promises in R
Rendered frompromises_03_overview.Rmdusingknitr::rmarkdownon Feb 17 2026.Last update: 2025-07-31
Started: 2023-08-07
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| 'future' promise | future_promise future_promise_queue |
| Asynchronous or synchronous 'then()' | hybrid_then |
| 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 |
| OpenTelemetry integration | local_otel_promise_domain with_otel_promise_domain with_otel_span |
| Promise domains | new_promise_domain with_promise_domain |
