summaryrefslogtreecommitdiffstats
path: root/web/src/subscription.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--web/src/subscription.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/web/src/subscription.rs b/web/src/subscription.rs
deleted file mode 100644
index fb54f7e3..00000000
--- a/web/src/subscription.rs
+++ /dev/null
@@ -1,18 +0,0 @@
-//! Listen to external events in your application.
-use crate::Hasher;
-
-/// A request to listen to external events.
-///
-/// Besides performing async actions on demand with [`Command`], most
-/// applications also need to listen to external events passively.
-///
-/// A [`Subscription`] is normally provided to some runtime, like a [`Command`],
-/// and it will generate events as long as the user keeps requesting it.
-///
-/// For instance, you can use a [`Subscription`] to listen to a WebSocket
-/// connection, keyboard presses, mouse events, time ticks, etc.
-///
-/// [`Command`]: crate::Command
-pub type Subscription<T> = iced_futures::Subscription<Hasher, (), T>;
-
-pub use iced_futures::subscription::Recipe;