Expand description
Frame draw scheduling utilities for the TUI.
This module exposes FrameRequester, a lightweight handle that widgets and
background tasks can clone to request future redraws of the TUI.
Internally it spawns a [FrameScheduler] task that coalesces many requests
into a single notification on a broadcast channel used by the main TUI event
loop. This keeps animations and status updates smooth without redrawing more
often than necessary.
This follows the actor-style design from “Actors with Tokio”, with a dedicated scheduler task and lightweight request handles.
Structs§
- Frame
Requester - A requester for scheduling future frame draws on the TUI event loop.