promise/instrumentation

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–2015 The Dojo Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/promise/instrumentation.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部