Function cosmic::iced_runtime::core::widget::operation::then

source ยท
pub fn then<A, B, O>(
    operation: impl Operation<A> + 'static,
    f: fn(_: A) -> O,
) -> impl Operation<B>
where A: 'static, B: Send + 'static, O: Operation<B> + 'static,
Expand description

Chains the output of an Operation with the provided function to build a new Operation.