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

macOs notification listeners #145

Open
pevers opened this issue Apr 12, 2022 · 1 comment
Open

macOs notification listeners #145

pevers opened this issue Apr 12, 2022 · 1 comment

Comments

@pevers
Copy link

pevers commented Apr 12, 2022

Hi,

Thanks for your work! I really appreciate the project!

I was wondering if there are any plans to support listeners for notification click events to notify-rust. I see from the examples that it is not supported yet: https://github.com/hoodie/notify-rust/blob/main/examples/on_close.rs. The macOS dependency mac-notification-sys seems to support it by blocking the thread and waiting until the delegate returns a value. Would it be an option to support similar semantics? Like a blocking notification API?

Or do you think it would be better to explore options to make mac-notification-sys non-blocking? (Maybe by returning the delegate and asynchronously waiting for events?)

@0rvar
Copy link

0rvar commented Apr 26, 2023

I need this as well

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

No branches or pull requests

2 participants