[−][src]Trait casper_node::effect::EffectExt
Effect extension for futures, used to convert futures into actual effects.
Required methods
fn event<U, F>(self, f: F) -> Effects<U> where
F: FnOnce(Self::Output) -> U + 'static + Send,
U: 'static,
Self: Sized,
F: FnOnce(Self::Output) -> U + 'static + Send,
U: 'static,
Self: Sized,
Finalizes a future into an effect that returns an event.
The function f
is used to translate the returned value from an effect into an event.
fn ignore<Ev>(self) -> Effects<Ev>
Finalizes a future into an effect that runs but drops the result.