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


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.0.2 by Lionel Henry, 2 months ago


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 brulee, luz, tabnet, torch, trampoline.

Suggested by torchdatasets, torchvision.

See at CRAN