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.


promises promises website

R-CMD-check

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

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.5.0 by Barret Schloerke, a year 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] , Barret Schloerke [aut, cre] (ORCID: , Winston Chang [aut] , Charlie Gao [aut] , Posit Software , PBC [cph, fnd] (ROR: <https://ror.org/03wc8by49>)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports fastmap, later, lifecycle, magrittr, otel, R6, rlang

Suggests future, knitr, mirai, otelsdk, purrr, Rcpp, rmarkdown, spelling, testthat, vembedr


Imported by Certara.RsNLME.ModelExecutor, DT, ElicitationWizard, FastRet, NACHO, PacketLLM, TKCat, TreeSearch, ambiorix, autosync, chromote, commons, crew, ellmer, ellmercodex, fiery, geoAr, gooseR, httpuv, jobqueue, jsplyr, lavaangui, learnr, mcptools, myownrobs, plotly, plumber, plumber2, plumbertableau, qualitranslate, querychat, ravepipeline, reqres, retroglyph, routing, routr, shidashi, shiny, shinyTree, shinychat, shinydashboard, shinyrecap, shinysnap, tall, tapLock, telegramR, tinyshinyserver, webdeveloper, webshot2.

Suggested by MAIHDA, MVN, SemNeT, SemNetCleaner, aifeducation, celliverse, chatLLM, condformat, coro, crawlee, dipsaus, fcaR, googlePubsubR, httr2, ipc, later, mascot, mizu, notionapi, pagedown, pilotr, relm, rmoriebricklayer, shiny.element, shinyOAuth, soilKey, telegram.bot, tidyllm, tuber.

Enhanced by mirai, nanonext.


See at CRAN