Consume Recipe when building a Stream
This commit is contained in:
parent
69ed631d44
commit
c688452d7b
4 changed files with 5 additions and 4 deletions
|
|
@ -108,7 +108,7 @@ mod events {
|
|||
}
|
||||
|
||||
fn stream(
|
||||
&self,
|
||||
self: Box<Self>,
|
||||
input: iced_native::subscription::Input,
|
||||
) -> futures::stream::BoxStream<'static, Self::Output> {
|
||||
use futures::StreamExt;
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@ mod time {
|
|||
}
|
||||
|
||||
fn stream(
|
||||
&self,
|
||||
self: Box<Self>,
|
||||
_input: Input,
|
||||
) -> futures::stream::BoxStream<'static, Self::Output> {
|
||||
use futures::stream::StreamExt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue