fn take(self, count: u64) -> Take<Self>
        where Self: Sized
    {
        Take::new(self, count)
    }
/// Take only the first X values of the stream and close the stream after
///
/// # Examples
///
/// ```
/// use asyncplify::*;
///
/// let vec = (0..10)
///     .into_stream()
///     .take(3)
///     .into_vec();
///
/// assert!(vec == [0, 1, 2], "vec = {:?}", vec);
/// ```
Take only the first X values of the stream and close the stream after
Take only the first X values of the stream and close the stream after
fn take(self, count: u64) -> Take<Self>
        where Self: Sized
    {
        Take::new(self, count)
    }
fn take ( self , count : u64 ) -> Take < Self > where Self : Sized { Take :: new ( self , count ) }
Take only the first X values of the stream and close the stream after
Take only the first X values of the stream and close the stream after
self
count
u64
self
count
u64
examples
```
use asyncplify::*.




` ` ` use asyncplify :: * .