async: Asynchronous Code Constructs: Generators, Yield, Async, Await
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.2.2 |
Depends: |
R (≥ 3.5.0) |
Imports: |
nseval (≥ 0.4), iterators, itertools, later, promises |
Suggests: |
rmarkdown, testthat (≥ 3.0.0), knitr, magrittr, audio, profvis, covr |
Published: |
2022-09-08 |
Author: |
Peter Meilstrup [aut, cre] |
Maintainer: |
Peter Meilstrup <peter.meilstrup at gmail.com> |
BugReports: |
https://github.com/crowding/async/issues |
License: |
GPL-2 |
URL: |
https://crowding.github.io/async/,
https://github.com/crowding/async/ |
NeedsCompilation: |
no |
Materials: |
README NEWS |
CRAN checks: |
async results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=async
to link to this page.