Trait leptos::SignalStream
source · pub trait SignalStream<T> {
// Required method
fn to_stream(&self) -> Pin<Box<dyn Stream<Item = T>>>;
}
Expand description
This trait allows converting a signal into a async Stream
.
pub trait SignalStream<T> {
// Required method
fn to_stream(&self) -> Pin<Box<dyn Stream<Item = T>>>;
}
This trait allows converting a signal into a async Stream
.