dragon_wait: Wait for a run to finish

View source: R/job.R

dragon_waitR Documentation

Wait for a run to finish

Description

Blocks with a progress bar until the run reaches a terminal state.

Usage

dragon_wait(run, timeout = Inf, poll = 2)

Arguments

run

A dragon_run.

timeout

Seconds to wait before giving up (the run keeps going).

poll

Seconds between checks.

Value

The run, invisibly. Errors if the run failed.


dragonfarm documentation built on Oct. 12, 2026, 5:07 p.m.