MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / isRenderEvent

Function isRenderEvent

apps/kimi-web/src/composables/client/eventBatcher.ts:21–23  ·  view source on GitHub ↗
(appEvent: AppEvent)

Source from the content-addressed store, hash-verified

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. */
21export function isRenderEvent(appEvent: AppEvent): boolean {
22 return RENDER_EVENT_TYPES.has(appEvent.type);
23}
24
25function defaultScheduleFrame(cb: () => void): number {
26 return typeof requestAnimationFrame === 'function'

Callers 2

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected