(readonly cursor: number, data: any, private timeGap: number = 1000)
| 243 | } |
| 244 | |
| 245 | constructor(readonly cursor: number, data: any, private timeGap: number = 1000) { |
| 246 | this.setTimer(); |
| 247 | this.log(data); |
| 248 | } |
| 249 | |
| 250 | log(data: any) { |
| 251 | if (!this.isActive()) { |