Expand description
Lifecycle-driven runtime for WidgetKit v0.1. The current runtime scope is intentionally a single widget instance per app/host pair. All timers and background tasks belong to that widget instance and are shut down with it. Rendering is demand-driven: hosts redraw only after the runtime requests it.
Re-exports§
pub use widgetkit_core;pub use widgetkit_render;
Structs§
- AppRunner
- v0.1 runtime runner. It intentionally manages exactly one widget instance lifetime.
Timers and tasks are instance-owned and are shut down with
stop/dispose. - Dispose
Ctx - Mount
Ctx - Render
Ctx - Scheduler
- Start
Ctx - StopCtx
- Tasks
- Update
Ctx - Widget
App - v0.1 application bootstrap for a single widget instance bound to one host and one renderer. The runtime is demand-driven and only redraws when widget code requests it.