iced_futures::subscription

Function from_recipe

Source
pub fn from_recipe<T>(
    recipe: impl Recipe<Output = T> + 'static,
) -> Subscription<T>
Expand description

Creates a Subscription from a Recipe describing it.