# README
waiter
: Wait Until Condition or Timeout
In a nutshell, it waits until the lock-file is removed. When starting the application, a lock-file is created. When the file is removed, the waiter
stops gracefully. When timeout is reached, the application exits on error.
Usage
Please consider --help
to see the possible flags, the possible sub-commands are:
waiter start
And:
waiter done
# Functions
NewWaiter instantiate a new waiter, making sure the timeout informed is acceptable.
# Variables
ErrTimeout emitted when timeout is reached.