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.5)coro_1.1.0.9000.zip(r-4.4)coro_1.1.0.9000.zip(r-4.3)
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.tgz(r-4.3-any)
coro_1.1.0.9000.tar.gz(r-4.5-noble)coro_1.1.0.9000.tar.gz(r-4.4-noble)
coro_1.1.0.9000.tgz(r-4.4-emscripten)coro_1.1.0.9000.tgz(r-4.3-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 site:https://coro.r-lib.org

On CRAN:

Conda:

asynccoroutinesgeneratoriteratorpromisesreticulate

11.89 score 167 stars 53 packages 105 scripts 13k downloads 16 exports 1 dependencies

Last updated 1 months agofrom:a8faf19031. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 26 2025
R-4.5-winOKMar 26 2025
R-4.5-macOKMar 26 2025
R-4.5-linuxOKMar 26 2025
R-4.4-winOKMar 26 2025
R-4.4-macOKMar 26 2025
R-4.4-linuxOKMar 26 2025
R-4.3-winOKMar 26 2025
R-4.3-macOKMar 26 2025

Exports:as_iteratorasyncasync_collectasync_generatorasync_opsasync_sleepawaitawait_eachcollectcoro_debugexhaustedgengeneratoris_exhaustedloopyield

Dependencies:rlang

Generators

Rendered fromgenerator.Rmdusingknitr::rmarkdownon Mar 26 2025.

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