Trait composable::Effects
source · pub trait Effects<Action>: Effects<Action = Action> + 'static { }Expand description
Effects are used within Reducers to propagate Actions as side-effects of performing other
Actions.
Effects are also Schedulers — able to apply modifiers to when (and how often) Actions. are sent.
This is a “trait alias” (to the actual Effects trait) to simplify
Reducer signatures and set the lifetime to 'static.
Object Safety§
This trait is not object safe.
Implementors§
impl<T, Action> Effects<Action> for Twhere
T: Effects<Action = Action> + 'static,
Until actual trait aliases are stabilized this work around allows the trait shown above to be used anywhere that the original trait can.