diff options
author | Daniil Baturin <daniil@vyos.io> | 2021-07-08 08:48:15 -0500 |
---|---|---|
committer | Daniil Baturin <daniil@vyos.io> | 2021-07-13 06:58:40 -0500 |
commit | 597e3b47d6e976854f1221078553d9dc2db032c0 (patch) | |
tree | 6f4410a422f7692ad1d4705e4476de5a2cee3208 /python/vyos/logger.py | |
parent | e7f89d4d45fedca6d1df0c15a8bce79c82b76aa8 (diff) | |
download | vyos-1x-597e3b47d6e976854f1221078553d9dc2db032c0.tar.gz vyos-1x-597e3b47d6e976854f1221078553d9dc2db032c0.zip |
T3663: add pre_hook argument to util.wait_for_inotify
When waiting for processes that don't take long,
we need add an inotify watcher _before_ starting that process.
The pre-hook arguments allows the user to pass a () -> () anonymous function
to be called before adding a watch.
Diffstat (limited to 'python/vyos/logger.py')
0 files changed, 0 insertions, 0 deletions