(callback: () => void)
| 298 | } |
| 299 | |
| 300 | override onDestroy(callback: () => void): () => void { |
| 301 | assertNotDestroyed(this); |
| 302 | this._onDestroyHooks.push(callback); |
| 303 | return () => this.removeOnDestroy(callback); |
| 304 | } |
| 305 | |
| 306 | // 3p-only-start |
| 307 | override runInContext<ReturnT>(fn: () => ReturnT): ReturnT { |
nothing calls this directly
no test coverage detected