'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.


News

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("coro")

1.0.1 by Lionel Henry, 9 months ago


https://github.com/r-lib/coro


Report a bug at https://github.com/r-lib/coro/issues


Browse source code at https://github.com/cran/coro


Authors: Lionel Henry [aut, cre] , RStudio [cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports rlang

Suggests knitr, later, magrittr, promises, reticulate, rmarkdown, testthat


Imported by luz, tabnet, torch.

Suggested by torchvision.


See at CRAN