Skip to contents

Get status of a deferred execution

Usage

deferred_status(d, detail = FALSE)

Arguments

d

A parade_deferred object

detail

Whether to return detailed status information

Value

A tibble with execution status

Examples

# \donttest{
grid <- data.frame(x = 1:4, group = rep(c("A", "B"), 2))
fl <- flow(grid) |>
  stage("calc", function(x) x^2, schema = returns(result = dbl())) |>
  distribute(dist_local(by = "group"))
deferred <- submit(fl)
status <- deferred_status(deferred)
# }