Learn R Programming

promises

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

Installation

install.packages("promises")

To use promises with Shiny, make sure you have Shiny v1.1.0 or later.

License

MIT

Copy Link

Version

Install

install.packages('promises')

Monthly Downloads

593,480

Version

1.4.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Barret Schloerke

Last Published

October 22nd, 2025

Functions in promises (1.4.0)

promises-package

promises: Abstractions for Promise-Based Asynchronous Programming
promise_resolve

Create a resolved or rejected promise
then

Access the results of a promise
with_promise_domain

Promise domains
resolve

Fulfill a promise
reexports

Objects exported from other packages
is.promise

Coerce to a promise
pipes

Promise pipe operators
WorkQueue

Future promise work queue
with_ospan_async

[Experimental] OpenTelemetry integration
hybrid_then

Asynchronous or synchronous then()
promise_all

Combine multiple promise objects
promise

Create a new promise object
future_promise_queue

future promise
promise_reduce

Promise-aware version of Reduce
promise_map

Promise-aware lapply/map