powered by
Bundling Delayed objects builds a single Delayed object out of an arbitrary number of input Delayed objects.
Delayed
bundle_delayed(delayed_list)bundle_args(...)
bundle_args(...)
A list of Delayed objects to bundle into a single Delayed object
Ignore (this is a convenience function)
ident_fun <- function(x) { Sys.sleep(0.01) x } delayed_ident <- delayed_fun(ident_fun) d_list <- lapply(1:10, delayed_ident) d_bundle <- bundle_delayed(d_list) d_bundle$compute(progress = FALSE)
Run the code above in your browser using DataLab