fn map_some<U, F>(self, f: F) -> Effects<U>
    where
        F: FnOnce(Self::Value) -> U + 'static + Send,
        U: 'static,
    {
        smallvec![self
            .map(|option| option
                .map(|el| smallvec![f(el)])
                .unwrap_or_else(|| smallvec![]))
            .boxed()]
    }
/// Finalizes a future returning an `Option`.
///
/// The function `f` is used to translate the returned value from an effect into an event,
/// In the case of `None`, empty vector is returned.
Finalizes a future returning an `Option`.
The function `f` is used to translate the returned value from an effect into an event,
In the case of `None`, empty vector is returned.
Finalizes a future returning an ` Option ` . The function ` f ` is used to translate the returned value from an effect into an event In the case of ` None ` empty vector is returned .
fn map_some<U, F>(self, f: F) -> Effects<U>
    where
        F: FnOnce(Self::Value) -> U + 'static + Send,
        U: 'static,
    {
        smallvec![self
            .map(|option| option
                .map(|el| smallvec![f(el)])
                .unwrap_or_else(|| smallvec![]))
            .boxed()]
    }
fn map_some < U , F > ( self , f : F ) -> Effects < U > where F : FnOnce ( Self :: Value ) -> U + ' static + Send , U : ' static , { smallvec ! [ self map ( option option map ( el smallvec [ f ( el ) ] ) unwrap_or_else ( smallvec [ ] ) ) boxed ( ) ] }
Finalizes a future returning an `Option`.
Finalizes a future returning an ` Option ` .
self
f
F
self
f
F