Skip to main content

Module EnqueueTreeViewEmit

Module EnqueueTreeViewEmit 

Source
Expand description

Coalesce 30+ Mountain โ†’ Sky tree-view/create emits at boot into a single batched payload per frame. Uses the channel-drain pattern: a long-lived flusher wakes on first item, drains immediately, sleeps one frame (16 ms), drains stragglers, then emits one { views: [...] } batch. Zero spawns per call; sub-millisecond wake latency.

Structsยง

TreeViewChannel ๐Ÿ”’

Staticsยง

TV_CH ๐Ÿ”’

Functionsยง

Fn
GetOrInitChannel ๐Ÿ”’