coro
coro copied to clipboard
Coroutines for R
Hello, Nice R package that I love to use now ! I would like to use coro in a R script, but when I run the example https://coro.r-lib.org/reference/async.html with Rscript,...
They currently return the exhaustion sentinel which is not thenable: ```r fn exhausted promises::then(fn(), ~ NULL) #> Error in as.promise.default(promise) : #> Don't know how to convert object of class...
It would be nice to programmatically create an async function, such as when you want to convert an expression into an anonymous function. An example interface could be: ```r as_async_function(...
Hi all, I'm trying to use generators inside a library, but after declaring a generator and using it this happens: ```R f_iterator
Using `coro` 1.0.3, `promises` 1.2.0.1, and `future` 1.28.0, I get the following unexpected behavior. Running the following code, the error is raised in the main thread (and not handled by...