Function iced_futures::boxed_stream

source ยท
pub fn boxed_stream<T, S>(stream: S) -> BoxStream<T>
where S: Stream<Item = T> + Send + 'static,
Expand description

Boxes a stream.

  • On native platforms, it needs a Send requirement.
  • On the Web platform, it does not need a Send requirement.