Function iced::subscription::run_with_id
pub fn run_with_id<I, S, Message>(id: I, stream: S) -> Subscription<Message>where
I: Hash + 'static,
S: Stream<Item = Message> + MaybeSend + 'static,
Message: 'static,
Expand description
Returns a Subscription
that will create and asynchronously run the
given Stream
.
The id
will be used to uniquely identify the Subscription
.