CRAN/E | async

async

Coroutines

Installation

About

Write sequential-looking code that pauses and resumes. gen() creates a generator, an iterator that returns a value and pauses each time it reaches a yield() call. async() creates a promise, which runs until it reaches a call to await(), then resumes when information is available. These work similarly to generator and async constructs from 'Python' or 'JavaScript'. Objects produced are compatible with the 'iterators' and 'promises' packages. Version 0.3 supports on.exit, single-step debugging, stream() for making asynchronous iterators, and delimited goto() in switch() calls.

crowding.github.io/async/
github.com/crowding/async/
Bug report File report

Key Metrics

Version 0.3.2
R ≥ 4.1
Published 2023-05-25 338 days ago
Needs compilation? no
License GPL-2
CRAN checks async results

Downloads

Yesterday 32 0%
Last 7 days 94 -25%
Last 30 days 366 +1%
Last 90 days 1.004 -7%
Last 365 days 4.144 +11%

Maintainer

Maintainer

Peter Meilstrup

peter.meilstrup@gmail.com

Authors

Peter Meilstrup

aut / cre

Material

README
NEWS
Reference manual
Package source

Vignettes

The 'async' package: Generators, async/await, and asynchronous streams for R
A Musical Introduction to Generators
The Coroutine Language
Scraping the web quickly using async/await

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

async archive

Depends

R ≥ 4.1

Imports

iterors
nseval ≥ 0.4.3
later
promises
testthat ≥3.0.0
stringr
methods

Suggests

rmarkdown
knitr
dplyr
curl
audio
profvis
ggplot2
XML

Reverse Suggests

QBMS