process-wait-with-timeout wait-reason timeout
&optional wait-function &rest wait-arguments => bool
A reason that the process is waiting. This is a string.
A timeout, in seconds.
A function to test.
The arguments to apply to wait-function .
This function uses process-wait
to suspend the current Lisp process until the predicate wait-function applied to wait-arguments returns t
, or until timeout seconds have passed.