async-component-winit

Crates.ioasync-component-winit
lib.rsasync-component-winit
version0.9.0
sourcesrc
created_at2022-11-19 15:40:49.423528
updated_at2022-12-17 09:10:23.945602
descriptionwinit async-component wrapper
homepage
repositoryhttps://github.com/storycraft/async-component
max_upload_size
id718533
size7,955
storycraft (storycraft)

documentation

README

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)
Commit count: 156

cargo fmt