-
-
Notifications
You must be signed in to change notification settings - Fork 258
Closed
Labels
Milestone
Description
Hi! My understanding is that currently notify hard-codes the usage of std::mpsc, and this is a bit unfortunate: there are many channel implementations in Rust (crossbeam-channel most notably), and the std version is not really great: it lacks select, which severally restricts its applicability.
It would be cool if notify had a trait EventSink { fn send(&mut self, Event); } and used that instead of any particular channel implementation.
Though, for practical purposes, perhaps just betting on crossbeam-channel would be even better?
Reactions are currently unavailable