W3cubDocs

/Angular

wtfStartTimeRange

const deprecated

Used to mark Async start. Async are similar to scope but they don't have to be strictly nested. The return value is used in the call to [endAsync]. Async ranges only work if WTF has been enabled.

See more...

Deprecated: the Web Tracing Framework is no longer supported in Angular

const wtfStartTimeRange: (rangeType: string, action: string) => any;

Description

someMethod() { var s = wtfStartTimeRange('HTTP:GET', 'some.url'); var future = new Future.delay(5).then((_) { wtfEndTimeRange(s); }); }

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/wtfStartTimeRange