Module event_loop

Source
Expand description

Event loop helpers and Linux Ctrl+C shutdown. winit event loop construction and ApplicationHandler execution.

Functions§

new_event_loop
Constructs the framework’s unit-user-event loop on the calling thread.
new_event_loop_allow_any_thread
Event loop usable from a non-main thread (worker-thread tests, Linux Wayland/X11).
run_app_on_event_loop
Sets [ControlFlow] and runs the handler on an existing event loop.