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.
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 |