-
Notifications
You must be signed in to change notification settings - Fork 128
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
Add version of listen which doesn't run new CFRunLoop #76
base: main
Are you sure you want to change the base?
Conversation
With this PR I was able to use the library in a Tauri app. Works well so far. Thank you! |
This would need to be done for ALL oses unfortunately, this is afaik, impossible. :( |
Any chance this gets merged anytome soon? I'd love to try it out |
No this will not get merged as it would be only available for MacOS, but by all means check out the branch and try it out ! |
though i think this can't be used with tauri on cross-platform apps anyway.. i'll try to think of a different solution |
Why cannot it be ? Tauri is just an app, as long as you respect the threading requirements it should work on all platforms Tauri or not Tauri. I used this crate to build an electron app and it worked just fine. |
would you have some sort of example? im not sure that it would work with the architecture i have currently setup. |
Not with Tauri, and it's been a long time since I used the electron app tbh. The main issue was being on the main thread (which is required by MacOS). I'm telling all this from memory so I might be wrong. Worst case scenario, that I started with was having a dedicated process for the listening part, and communicating with the electron app through your favorite cross process communication. |
No description provided.