Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.06 KB

README.org

File metadata and controls

21 lines (14 loc) · 1.06 KB

Wait utility for unix shell.

Features

wait_for

fixed delay

exponential backoff

wait_for

This function allows you to wait until a condition is satisfied. The condition can be specified using a boolean function that returns “true” or “false”. It provides the following options:

OptionRequiredDescription
–functiontrueThe function that evaluates if we should wait for more (defaults: to always return true)
–max-wait-timefalseThe maximum amount of time in seconds to wait
–retry-delayfalseThe delay between retries (if exponential back off is not used)
–backoff-multiplierfalseThe backoff multiplier to use