Skip to content

Comments

Implement EventHandler for futures and tokio UnboundedSender#767

Merged
JohnTitor merged 3 commits intonotify-rs:mainfrom
riberk:main
Jan 29, 2026
Merged

Implement EventHandler for futures and tokio UnboundedSender#767
JohnTitor merged 3 commits intonotify-rs:mainfrom
riberk:main

Conversation

@riberk
Copy link
Contributor

@riberk riberk commented Jan 26, 2026

Description

This PR implements EventHandler (notify, debouncer-full and mini) for tokio and futures UnboundedSender behind the feature flags futures and tokio

.expect("error");
}

#[cfg(feature = "futures")]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be:

Suggested change
#[cfg(feature = "futures")]
#[cfg(feature = "tokio")]

Other tests for tokio has the same left-over.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Fixed

Additionally, tried to fix other PollWatcher tests

Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@JohnTitor JohnTitor merged commit daa93af into notify-rs:main Jan 29, 2026
17 checks passed
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

Successfully merging this pull request may close these issues.

2 participants