On this page
LibTmux.Testing.TmuxWait
- Module
- LibTmux.Testing
- Package
- LibTmux
- Source
- src/LibTmux/Testing/TmuxWait.cs
-
Waits for tmux to reach a state instead of sleeping.
tmux answers a command as soon as it has accepted it, not once the effect has landed, so a test that acts and then reads immediately is racing the server. A fixed delay only hides that on an idle machine; waiting for the state itself is what makes the test say what it means.
1 declared, 0 inherited
Members
- UntilAsync method Waits until a probe reports the state was reached.