* 当前 project 的模拟器 ready 事件
(fn: (host: IPublicApiSimulatorHost) => void)
| 199 | * 当前 project 的模拟器 ready 事件 |
| 200 | */ |
| 201 | onSimulatorHostReady(fn: (host: IPublicApiSimulatorHost) => void): IPublicTypeDisposable { |
| 202 | const offFn = this[projectSymbol].onSimulatorReady((simulator: BuiltinSimulatorHost) => { |
| 203 | fn(SimulatorHost.create(simulator)!); |
| 204 | }); |
| 205 | return offFn; |
| 206 | } |
| 207 | |
| 208 | /** |
| 209 | * 当前 project 的渲染器 ready 事件 |
nothing calls this directly
no test coverage detected