iced::advanced::subscription

Function from_recipe

Source
pub fn from_recipe<T>(
    recipe: impl Recipe<Output = T> + 'static,
) -> Subscription<T>
Available on crate feature advanced only.
Expand description

Creates a Subscription from a Recipe describing it.