()
| 59 | |
| 60 | timer = null; |
| 61 | componentDidMount() { |
| 62 | // This will refresh the chart as often as indiciated |
| 63 | // in the variable refreshRate |
| 64 | this.timer = setInterval(() => { |
| 65 | this.updateMonitor(); |
| 66 | }, refreshRate); |
| 67 | } |
| 68 | |
| 69 | componentWillUnmount() { |
| 70 | clearInterval(this.timer); |
nothing calls this directly
no test coverage detected