wtfStartTimeRange

Experimental Const

Variable Export

export 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.

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

exported from @angular/core/index defined in @angular/core/src/profile/profile.ts

doc_Angular
2016-10-06 09:47:14
Comments
Leave a Comment

Please login to continue.