This is the same as 'wait_for' with the difference that 'wait_for_any' succeeds when *one* condition is met. issue #3636