()
| 788 | }); |
| 789 | } |
| 790 | pause(): void { |
| 791 | // Flush pending React updates and render before pausing. |
| 792 | // @ts-expect-error flushSyncFromReconciler exists in react-reconciler 0.31 but not in @types/react-reconciler |
| 793 | reconciler.flushSyncFromReconciler(); |
| 794 | this.onRender(); |
| 795 | this.isPaused = true; |
| 796 | } |
| 797 | resume(): void { |
| 798 | this.isPaused = false; |
| 799 | this.onRender(); |
no test coverage detected