Package: coro 1.1.0.9000

Lionel Henry

coro: 'Coroutines' for R

Provides 'coroutines' for R, a family of functions that can be suspended and resumed later on. This includes 'async' functions (which await) and generators (which yield). 'Async' functions are based on the concurrency framework of the 'promises' package. Generators are based on a dependency free iteration protocol defined in 'coro' and are compatible with iterators from the 'reticulate' package.

Authors:Lionel Henry [aut, cre], Posit Software, PBC [cph, fnd]

coro_1.1.0.9000.tar.gz
coro_1.1.0.9000.zip(r-4.6)coro_1.1.0.9000.zip(r-4.5)coro_1.1.0.9000.zip(r-4.4)
coro_1.1.0.9000.tgz(r-4.5-any)coro_1.1.0.9000.tgz(r-4.4-any)
coro_1.1.0.9000.tar.gz(r-4.6-any)coro_1.1.0.9000.tar.gz(r-4.5-any)
coro_1.1.0.9000.tgz(r-4.5-emscripten)
coro.pdf |coro.html
coro/json (API)
NEWS

# Install 'coro' in R:
install.packages('coro', repos = c('https://r-lib.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/r-lib/coro/issues

Pkgdown/docs site:https://coro.r-lib.org

On CRAN:

Conda:

asynccoroutinesgeneratoriteratorpromisesreticulate

13.44 score 177 stars 69 packages 150 scripts 206k downloads 16 exports 1 dependencies

Last updated from:fd8fae6224. Checks:9 OK. Indexed: yes.

TargetResultTotal timeArtifact
linux-devel-x86_64OK135
source / vignettesOK264
linux-release-x86_64OK135
macos-release-arm64OK108
macos-oldrel-arm64OK119
windows-develOK104
windows-releaseOK99
windows-oldrelOK104
wasm-releaseOK129

Exports:as_iteratorasyncasync_collectasync_generatorasync_opsasync_sleepawaitawait_eachcollectcoro_debugexhaustedgengeneratoris_exhaustedloopyield

Dependencies:rlang

Generators

Rendered fromgenerator.Rmdusingknitr::rmarkdownon Oct 20 2025.

Last update: 2025-01-06
Started: 2020-10-26