17 releases (7 breaking)
0.9.0 | Dec 17, 2022 |
---|---|
0.8.1 | Dec 16, 2022 |
0.7.0 | Dec 15, 2022 |
0.6.0 | Dec 9, 2022 |
0.2.5 | Nov 20, 2022 |
#2202 in Asynchronous
17KB
396 lines
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)
Dependencies
~3–14MB
~183K SLoC