dojo._ioWatch
<script src="../../js/dojo.js"></script>
defined in dojo/_base/xhr.js
watches the io request represented by dfd to see if it completes.
Usage
parameter | type | description |
---|---|---|
dfd | The Deferred object to watch. | |
validCheck | Function | used to check if the IO request is still valid. Gets the dfd object as its only argument. |
ioCheck | Function | used to check if basic IO call worked. Gets the dfd object as its only argument. |
resHandle | Function | used to process response. Gets the dfd object as its only argument. |