dojo/request/watch

Summary

Watches the io request represented by dfd to see if it completes.

Usage

watch(dfd);
Parameter Type Description
dfd Deferred

The Deferred object to watch.

See the dojo/request/watch reference documentation for more information.

Properties

ioCheck

Defined by: dojo/request/watch

Function used to check if basic IO call worked. Gets the dfd object as its only argument.

resHandle

Defined by: dojo/request/watch

Function used to process response. Gets the dfd object as its only argument.

validCheck

Defined by: dojo/request/watch

Function used to check if the IO request is still valid. Gets the dfd object as its only argument.

Methods

cancelAll()

Defined by dojo/request/watch

Cancels all pending IO requests, regardless of IO type

© 2005–2017 JS Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/request/watch.html