pub fn with_executor<P: Program, E: Executor>( program: P, ) -> impl Program<State = P::State, Message = P::Message, Theme = P::Theme>
Decorates a Program with the given executor function.
Program