填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

wtfStartTimeRange

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.

查看"说明"...

已弃用: the Web Tracing Framework is no longer supported in Angular

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

说明

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