Implement Subscription::map and from_recipe
This commit is contained in:
parent
e189c22bb0
commit
cdb7acf6c2
4 changed files with 130 additions and 65 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use crate::Event;
|
||||
use crate::{Event, Hasher};
|
||||
|
||||
pub type Subscription<T> = iced_core::Subscription<Input, T>;
|
||||
pub type Subscription<T> = iced_core::Subscription<Hasher, Input, T>;
|
||||
pub type Input = futures::channel::mpsc::Receiver<Event>;
|
||||
|
||||
pub use iced_core::subscription::Connection;
|
||||
pub use iced_core::subscription::Recipe;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue