fn take_while<F, Fut>(self, f: F) -> TakeWhile<Self, Self::Item, F, Fut>
    where
        F: FnMut(&Self::Item, &mut A, &mut A::Context) -> Fut,
        Fut: ActorFuture<A, Output = bool>,
        Self: Sized,
    {
        take_while::new(self, f)
    }
/// Take elements from this stream while the provided asynchronous predicate
/// resolves to `true`.
///
/// This function, like `Iterator::take_while`, will take elements from the
/// stream until the predicate `f` resolves to `false`. Once one element
/// returns `false`, it will always return that the stream is done.
Take elements from this stream while the provided asynchronous predicate
resolves to `true`.


Take elements from this stream while the provided asynchronous predicate resolves to ` true ` .
fn take_while<F, Fut>(self, f: F) -> TakeWhile<Self, Self::Item, F, Fut>
    where
        F: FnMut(&Self::Item, &mut A, &mut A::Context) -> Fut,
        Fut: ActorFuture<A, Output = bool>,
        Self: Sized,
    {
        take_while::new(self, f)
    }
fn take_while < F , Fut > ( self , f : F ) -> TakeWhile < Self , Self :: Item , F , Fut > where F : FnMut ( & Self :: Item , & mut A , & mut A :: Context ) -> Fut , Fut : ActorFuture < A , Output = bool > , Self : Sized , { take_while :: new ( self , f ) }
Take elements from this stream while the provided asynchronous predicate
resolves to `true`.
Take elements from this stream while the provided asynchronous predicate resolves to ` true ` .
self
f
F
self
f
F