Skip to main content

run

Function run 

Source
fn run(
    viewer: Viewer,
    sink: Arc<dyn Fn(Event) + Send + Sync>,
    rx: Receiver<Msg>,
)
Expand description

The engine loop: apply messages and publish the view state when it changed.