then

Function then 

Source
pub fn then<T, S, R>(
    reactors: R,
) -> <ThenChain<R> as IntoReactor<T, S>>::Reactor
where ThenChain<R>: IntoReactor<T, S>, T: Clone,
Expand description

Reacts with the given reactors in order (regardless of outputs).

This function accepts a type R for which ThenChain<R> implements IntoReactor. ThenChain implements this trait for collection types, most notably non-unary tuple types and Vec of Reactor types.

The constructed reactor returns the output of the last reactor. See also the Reactor::then function.