(appEvent: AppEvent)
| 19 | next animation frame. Everything else (lifecycle / control-flow) must apply |
| 20 | immediately so turn-end cleanup etc. is not delayed by a throttled rAF. */ |
| 21 | export function isRenderEvent(appEvent: AppEvent): boolean { |
| 22 | return RENDER_EVENT_TYPES.has(appEvent.type); |
| 23 | } |
| 24 | |
| 25 | function defaultScheduleFrame(cb: () => void): number { |
| 26 | return typeof requestAnimationFrame === 'function' |
no test coverage detected