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], Posit Software, PBC [cph, fnd]
MaintainerLionel Henry <>
LicenseMIT + file LICENSE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the coro package in your browser

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

coro documentation built on June 22, 2024, 6:53 p.m.