Expand description
Cross-cutting infrastructure shared by render, ui, app, and platform.
cache is the generic LRU framework. resource builds on it for
token-keyed asset management. reactive is the Signal / Computed
/ Effect runtime. perf records trace spans. timer declares
time-driven components.
Modules§
- cache
- perf
- Span-based perf tracing. Use
crate::trace_span!/#[crate::trace_fn]; this module is the storage layer. - reactive
- resource
- Generic resource manager. Token-string identification,
core::cell::RefCellinterior mutability for [&World]-only access from render code, and an optional probe sidecar gated onHasProbe. - timer
- Declarative timers —
Timercomponent fires a callback at scheduledMonoClockinstants. Reset drift mode (no catch-up). Lifecycle variants cover one-shot, periodic, bounded counts, and bounded wall deadlines. See.local/specs/timer/design.mdfor the full surface.