wait_for_quiet
Source and package
- Qualified name
-
LibTmux .wait _for _quiet - Module
- LibTmux
- Package
- LibTmux
- Source
- src/waits.jl
-
Methods#
Consume output until no event is received for
quietseconds, within one total deadline. Each received event restarts only the inactivity interval. The result hasevidence == :quiet; inactivity does not prove process completion or success. It covers this client's observed stream, not atomic daemon silence.wait_for_quiet(stream::ObservationStream; quiet=0.1, timeout=5.0,cancel=nothing, max_bytes=65536, invalid=:error, mode=:raw)Tail retention and UTF-8 use
wait_for's policy; incomplete UTF-8 stays explicit inpending_bytes. A shorter total deadline raisesDeadlineExceededrather than reporting quiet. Cancellation, overflow, target loss and EOF propagate. The caller keeps ownership of the stream. No polling or extra reader is used.
Guides#
Pages that discuss wait_for_quiet.