flushlink
Simulates the asynchronous passage of time for the timers in the fakeAsync zone by draining the macrotask queue until it is empty. The returned value is the milliseconds of time that would have been elapsed.
参数
maxTurns | Type: 可选. 默认值是 |
返回值
number
: The simulated time elapsed, in millis.