dojo/promise/instrumentation

Summary

Initialize instrumentation for the Deferred class.

Initialize instrumentation for the Deferred class. Done automatically by dojo/Deferred if the deferredInstrumentation and useDeferredInstrumentation config options are set.

Sets up dojo/promise/tracer to log to the console.

Sets up instrumentation of rejected deferreds so unhandled errors are logged to the console.

Usage

instrumentation(Deferred);
Parameter Type Description
Deferred undefined

See the dojo/promise/instrumentation reference documentation for more information.

Methods

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