()
| 285 | }); |
| 286 | |
| 287 | function A() { |
| 288 | const value = useSyncExternalStore(store.subscribe, store.getState); |
| 289 | |
| 290 | if (value === 'Updated') { |
| 291 | try { |
| 292 | use(promise); |
| 293 | } catch (x) { |
| 294 | Scheduler.log('Suspend A'); |
| 295 | throw x; |
| 296 | } |
| 297 | } |
| 298 | |
| 299 | return <Text text={'A: ' + value} />; |
| 300 | } |
| 301 | |
| 302 | function B() { |
| 303 | const value = useSyncExternalStore(store.subscribe, store.getState); |
nothing calls this directly
no test coverage detected