(ms?: number)
| 666 | } |
| 667 | |
| 668 | private _reschedule(ms?: number) { |
| 669 | if (this.stopped) return; |
| 670 | if (this.timerId) { |
| 671 | clearTimeout(this.timerId); |
| 672 | } |
| 673 | |
| 674 | this.timerId = setTimeout(this._executeAndReschedule, ms || this.heartbeatFrequencyMS); |
| 675 | } |
| 676 | |
| 677 | private _executeAndReschedule = () => { |
| 678 | if (this.stopped) return; |
no outgoing calls
no test coverage detected