Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to send events to winit from a Web Worker #2592

Closed
syrel opened this issue Dec 15, 2022 · 1 comment
Closed

Not possible to send events to winit from a Web Worker #2592

syrel opened this issue Dec 15, 2022 · 1 comment
Labels
DS - web S - enhancement Wouldn't this be the coolest?

Comments

@syrel
Copy link

syrel commented Dec 15, 2022

Hi

There doesn't seem to be a way to wake up an event loop or enqueue events coming from a Web Worker due to winit trying to process events right away:

let mut process_immediately = true;

The referenced code assumes that events can only be sent from the main thread. What would it take to support this use-case?

Thanks!

@daxpedda
Copy link
Member

daxpedda commented Jun 2, 2023

Duplicate of #1518.

@daxpedda daxpedda closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DS - web S - enhancement Wouldn't this be the coolest?
Development

Successfully merging a pull request may close this issue.

3 participants