InteractionHandler
type alias · ferroui-reactiveui · v0.5.0
type InteractionHandler<I, O> = std::rc::Rc<dyn Fn(std::rc::Rc<dyn IInteractionContext<I, O>>) -> ferroui_system::task::Shared<Result<(), ferroui_system::ObservableError>>>
A registered handler of an interaction, as the interaction keeps it: it receives the context
and gives the task that ends when it has finished (Func<IInteractionContext<TInput, TOutput>, Task>),
the Shared of its outcome.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.