added deprecated chain + waitFor example [ci skip]
example fix [ci skip]