pub fn run<S, Message>(builder: fn() -> S) -> Subscription<Message>
Expand description
Returns a Subscription
that will call the given function to create and
asynchronously run the given Stream
.
pub fn run<S, Message>(builder: fn() -> S) -> Subscription<Message>
Returns a Subscription
that will call the given function to create and
asynchronously run the given Stream
.