dojo/request/notify (version 1.10)

Summary

Register a listener to be notified when an event in dojo/request happens.

Usage

notify(type,listener);
Parameter Type Description
type String
Optional

The event to listen for. Events emitted: "start", "send", "load", "error", "done", "stop".

listener Function
Optional

A callback to be run when an event happens.

Returns:any | undefined

A signal object that can be used to cancel the listener. If remove() is called on this signal object, it will stop the listener from being executed.

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

Method Summary

  • emit(type,event,cancel)

Methods

emit(type,event,cancel)
Defined by dojo/request/notify
Parameter Type Description
type undefined
event undefined
cancel undefined
Error in the documentation? Can’t find what you are looking for? Let us know!