Watch for changes in ready state and result until condition is satisfied.
| callback | Function | Callback function that will be invoked whenever the ready state or result changes. If callback returns true, the condition is satisfied and this callback won't be called anymore. callback should have the following signature: function(waitable). |