cosmic::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.