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§
- executor
- Specialized async Executor built on top of winit event loop for running
AsyncComponent
Traits§
- Winit
Component - Trait for handling winit events on component.
Functions§
- run
- Convenience method for initializing executor and running winit eventloop