Crate async_component_winit
source ·Expand description
Async component winit
Async executor for async-component
on winit event loop
Implementation detail
- Waker::wake -> UserEvent(ExecutorPollEvent) -> MainEventsCleared -> Executor poll -> RedrawEventsCleared -> winit poll (only if last executor poll was Poll::Ready)
- Events -> MainEventsCleared -> Executor poll -> RedrawEventsCleared -> winit poll (only if last executor poll was Poll::Ready)
Modules
Specialized async Executor built on top of winit event loop for running
AsyncComponent
Traits
Trait for handling winit events on component.
Functions
Convenience method for initializing executor and running winit eventloop