(callback: () => void)
| 295 | } |
| 296 | |
| 297 | override onDestroy(callback: () => void): () => void { |
| 298 | assertNotDestroyed(this); |
| 299 | this._onDestroyHooks.push(callback); |
| 300 | return () => this.removeOnDestroy(callback); |
| 301 | } |
| 302 | |
| 303 | override runInContext<ReturnT>(fn: () => ReturnT): ReturnT { |
| 304 | assertNotDestroyed(this); |
nothing calls this directly
no test coverage detected