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.

Package details

AuthorLionel Henry [aut, cre], RStudio [cph, fnd]
MaintainerLionel Henry <lionel@rstudio.com>
LicenseMIT + file LICENSE
Version1.0.3
URL https://github.com/r-lib/coro
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("coro")

Try the coro package in your browser

Any scripts or data that you put into this service are public.

coro documentation built on July 19, 2022, 5:06 p.m.