(fn: () => void)
| 186 | } |
| 187 | |
| 188 | onWindowRendererReady(fn: () => void): IPublicTypeDisposable { |
| 189 | this.emitter.on(EVENT.WINDOW_RENDER_READY, fn); |
| 190 | return () => { |
| 191 | this.emitter.off(EVENT.WINDOW_RENDER_READY, fn); |
| 192 | }; |
| 193 | } |
| 194 | |
| 195 | emitWindowRendererReady() { |
| 196 | this.emitter.emit(EVENT.WINDOW_RENDER_READY); |