Module iced::subscription
Expand description
Listen to external events in your application.
Traits
- The description of a [
Subscription
].
Functions
- Returns a
Subscription
to all the ignored runtime events. - Returns a
Subscription
that filters all the runtime events with the provided function, producing messages accordingly. - Returns a
Subscription
that will call the given function to create and asynchronously run the given [Stream
]. - Returns a
Subscription
that will create and asynchronously run the given [Stream
]. - Returns a
Subscription
that will create and asynchronously run a [Stream
] that will call the provided closure to produce everyMessage
.
Type Definitions
- A stream of runtime events.
- A request to listen to external events.
- A native
Subscription
tracker.