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

Apache-2.0

17KB
396 lines

Async component winit

Async executor for async-component on winit event loop

Implementation detail

  1. Waker::wake -> UserEvent(ExecutorPollEvent) -> MainEventsCleared -> Executor poll -> RedrawEventsCleared -> winit poll (only if last executor poll was Poll::Ready)
  2. Events -> MainEventsCleared -> Executor poll -> RedrawEventsCleared -> winit poll (only if last executor poll was Poll::Ready)

Dependencies

~3–14MB
~183K SLoC