Function
mp
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.
A boolean.
process-wait to suspend the current Lisp process until the predicate wait-function applied to wait-arguments returnst, or until timeout seconds have passed.