Trace promise fulfillment.
Trace promise fulfillment. Calling .trace() or .traceError() on a promise enables tracing. Will emit resolved, rejected or progress events.
See the dojo/promise/tracer reference documentation for more information.
on(type,listener) Defined by dojo/promise/tracer
Subscribe to traces.
See dojo/Evented#on().
| Parameter | Type | Description |
|---|---|---|
| type | String |
|
| listener | Function |
The listener is passed the traced value and any arguments that were used with the |
© 2005–2017 JS Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/promise/tracer.html