Skip to content

shellib/wait

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages