request/watch

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–2015 The Dojo Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/request/watch.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部