diff options
author | 2020-02-04 10:33:13 -0600 | |
---|---|---|
committer | 2020-02-04 10:33:13 -0600 | |
commit | 7b892eb3e11596925a2993bcc4175ac09ff3768a (patch) | |
tree | 781402db9c2d6ebef5e47b4f469f47eea0396b4b /winit/src | |
parent | 12292126dcf9a6e2ac3befeb056638894afce788 (diff) | |
parent | 6d46833eb2a068bd3655859ea828dad04293e5ba (diff) | |
download | iced-7b892eb3e11596925a2993bcc4175ac09ff3768a.tar.gz iced-7b892eb3e11596925a2993bcc4175ac09ff3768a.tar.bz2 iced-7b892eb3e11596925a2993bcc4175ac09ff3768a.zip |
Merge pull request #177 from hecrj/feature/web-subscriptions
Event subscriptions and custom executors for `iced_web`
Diffstat (limited to 'winit/src')
-rw-r--r-- | winit/src/proxy.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winit/src/proxy.rs b/winit/src/proxy.rs index cff9df33..cff6ca72 100644 --- a/winit/src/proxy.rs +++ b/winit/src/proxy.rs @@ -1,4 +1,5 @@ use iced_native::futures::{ + channel::mpsc, task::{Context, Poll}, Sink, }; @@ -23,7 +24,7 @@ impl<Message: 'static> Proxy<Message> { } impl<Message: 'static> Sink<Message> for Proxy<Message> { - type Error = core::convert::Infallible; + type Error = mpsc::SendError; fn poll_ready( self: Pin<&mut Self>, |