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

Support for sockets and files #2302

Open
DemiMarie opened this issue May 24, 2022 · 3 comments
Open

Support for sockets and files #2302

DemiMarie opened this issue May 24, 2022 · 3 comments

Comments

@DemiMarie
Copy link

Many applications need to be able to perform asynchronous network and file I/O from the main thread, with notification via a callback.

@maroider
Copy link
Member

maroider commented May 26, 2022

Can you elaborate on what exactly it is you want from winit in this regard? It's a bit hard to tell from such a brief issue text, and my best guess would be some sort of "async/await" integration for the event loop closure.

@DemiMarie
Copy link
Author

Pretty much. I want to be able to use asynchronous network and file I/O libraries in the same thread as GUI operations. Electron integrates the Node.js event loop (libuv) with the Chromium event loop, so it is possible.

@maroider
Copy link
Member

I believe this has already been discussed in #1199.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants