Other packages > Find by keyword >

async  

Coroutines: Generators / Yield, Async / Await, and Streams
View on CRAN: Click here


Download and install async package within the R console
Install from CRAN:
install.packages("async")

Install from Github:
library("remotes")
install_github("cran/async")

Install by package version:
library("remotes")
install_version("async", "0.3.2")



Attach the package and use:
library("async")
Maintained by
Peter Meilstrup
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2022-05-26
Latest Update:
Description:
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.
How to cite:
Peter Meilstrup (2022). async: Coroutines: Generators / Yield, Async / Await, and Streams. R package version 0.3.2, https://cran.r-project.org/web/packages/async. Accessed 28 Oct. 2026.
Previous versions and publish date:
(2026-07-09 07:19), 0.2.1 (2022-05-26 10:30), 0.2.2 (2022-09-08 09:02), 0.3.1 (2023-03-22 10:10), 0.3.2 (2023-05-26 01:30), 0.3 (2023-02-21 01:00)
Other packages that cited async R package
View async citation profile
Other R packages that async depends, imports, suggests or enhances
Functions, R codes and Examples using the async R package
Some associated functions: async-package . async . awaitNext . channel . collect . combine . debugAsync . delay . format . gen . graphAsync . nextThen . pausables . reexports . run . stream . switch . 
Some associated R codes: all_indices.R . all_names.R . async-description.R . async-package.R . channel.R . collect.R . compile.R . coroutine.R . gen.R . graph.R . inline.R . munge.R . run.R . stream.R . syntax.R . trans.R . util.R . walk.R .  Full async package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

ncdf4  
Interface to Unidata netCDF (Version 4 or Earlier) Format Data Files
Provides a high-level R interface to data files written using Unidata's netCDF library (version 4 or ...
Download / Learn more Package Citations See dependency  
msamp  
Estimate Sample Size to Detect Bacterial Contamination in a Product Lot
Estimates the sample size needed to detect microbial contamination in a lot with a user-specified d ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
cats  
Cohort Platform Trial Simulation
Cohort plAtform Trial Simulation whereby every cohort consists of two arms, control and experimenta ...
Download / Learn more Package Citations See dependency  
NPHazardRate  
Nonparametric Hazard Rate Estimation
Provides functions and examples for histogram, kernel (classical, variable bandwidth and transformat ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA