W3cubDocs

/Dojo

dojo/main.__IoPublish

Summary

This is a list of IO topics that can be published if djConfig.ioPublish is set to true. IO topics can be published for any Input/Output, network operation. So, dojo.xhr, dojo.io.script and dojo.io.iframe can all trigger these topics to be published.

Note: This is not a real constructor, but just a description of the type of object that should be passed as a parameter to some method(s), and/or the return value from some method(s). In other words, the type exists only for documentation purposes, and you cannot call new main.__IoPublish()

Properties

done

Defined by: dojo/_base/xhr

"/dojo/io/done" is sent whenever an IO request has completed, either by loading or by erroring. It passes the error and the dojo.Deferred for the request with the topic.

error

Defined by: dojo/_base/xhr

"/dojo/io/error" is sent whenever an IO request has errored. It passes the error and the dojo.Deferred for the request with the topic.

load

Defined by: dojo/_base/xhr

"/dojo/io/load" is sent whenever an IO request has loaded successfully. It passes the response and the dojo.Deferred for the request with the topic.

send

Defined by: dojo/_base/xhr

"/dojo/io/send" is sent whenever a new IO request is started. It passes the dojo.Deferred for the request with the topic.

start

Defined by: dojo/_base/xhr

"/dojo/io/start" is sent when there are no outstanding IO requests, and a new IO request is started. No arguments are passed with this topic.

stop

Defined by: dojo/_base/xhr

"/dojo/io/stop" is sent when all outstanding IO requests have finished. No arguments are passed with this topic.

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