dojo/promise/tracer (version 1.10)

Summary

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.

Method Summary

  • on(type,listener) Subscribe to traces.

Methods

on(type,listener)
Defined by dojo/promise/tracer

Subscribe to traces.

See dojo/Evented#on().

Parameter Type Description
type String

resolved, rejected, or progress

listener Function

The listener is passed the traced value and any arguments that were used with the .trace() call.

Error in the documentation? Can’t find what you are looking for? Let us know!