(delay: number, callback: VoidFunction, ngZone: NgZone)
| 64 | deferred: Array<number | VoidFunction> = []; |
| 65 | |
| 66 | add(delay: number, callback: VoidFunction, ngZone: NgZone) { |
| 67 | const target = this.executingCallbacks ? this.deferred : this.current; |
| 68 | this.addToQueue(target, Date.now() + delay, callback); |
| 69 | this.scheduleTimer(ngZone); |
| 70 | } |
| 71 | |
| 72 | remove(callback: VoidFunction) { |
| 73 | const {current, deferred} = this; |
nothing calls this directly
no test coverage detected