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 <lionel@posit.co>
LicenseMIT + file LICENSE
Version1.0.5
URL https://github.com/r-lib/coro https://coro.r-lib.org/
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 Oct. 16, 2024, 1:09 a.m.