Docs · Operate runs

tempergraph wait

Block until a thread's outcome.

Examples#

shell
tempergraph wait <thread>                   # block until the run ends or pauses
tempergraph wait <thread> <thread> --any    # block until the first of them ends or pauses

wait also returns when a running thread records a new gate verdict; wait --any returns only when a thread pauses or ends. Use it instead of polling a run's files or logs.

usage
tempergraph wait [-h] [--any] [--timeout TIMEOUT] selector [selector ...]
ArgumentWhat it is
<selector>…one or more threads: <workflow>/<task id>, or an alias
OptionWhat it does
--anywatch every named thread and return when the first one stops running
--timeout TIMEOUTseconds to wait before giving up (default 3600)default 3600.0

Edit this page on GitHub · engine 0.9.0