A cheap, cloneable, Send handle that wakes the running desktop UI from any thread.
Pending wake calls are coalesced into one event-loop signal. This is a
scheduler primitive: it does not synthesize or route a widget event.
Record the output diagnostics of the frame just presented for
window_id. Widgets observing window_output_diagnostics_signal are
invalidated when they differ from the last frame’s.
Ask for a capture of window_id after its next redraw. When it is done,
wake (if any) is delivered to the widget that registered it; collect the
artifact with take_window_debug_capture.
Begin every capture waiting for window_id from the frame renderer last
drew for it, collect the ones that are back, and return the wake tokens to
deliver with Runtime::wake_async.
The output diagnostics of window_id as a signal, for widgets that show
them: observe it with MeasureCtx::observe or PaintCtx::observe to be
invalidated when a presented frame’s diagnostics change. It holds None
until the window’s first frame is presented.