dojo/request/watch (version 1.10)

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.

Property Summary

  • ioCheckFunction used to check if basic IO call worked.
  • resHandleFunction used to process response.
  • validCheckFunction used to check if the IO request is still valid.

Method Summary

  • cancelAll() Cancels all pending IO requests, regardless of IO type

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

Error in the documentation? Can’t find what you are looking for? Let us know!