Functiondojo._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

function (dfd, /*Function*/ validCheck, /*Function*/ ioCheck, /*Function*/ resHandle) (view source)
parametertypedescription
dfd The Deferred object to watch.
validCheckFunctionused to check if the IO request is still valid. Gets the dfd object as its only argument.
ioCheckFunctionused to check if basic IO call worked. Gets the dfd object as its only argument.
resHandleFunctionused to process response. Gets the dfd object as its only argument.