fn max(self) -> Max<Self>
        where Self: Sized
    {
        Max::new(self)
    }
/// Returns the maximum element of a stream. Returns the lastest element if
/// the comparison determines two elements to be equally maximum.
///
/// # Examples
///
/// ```
/// use asyncplify::*; let mut value = 0;
///
/// (0..10)
///     .into_stream()
///     .max()
///     .subscribe_action(|v| value = v);
///
/// assert!(value == 9, "value = {:?}", value);
/// ```
Returns the maximum element of a stream. Returns the lastest element if
the comparison determines two elements to be equally maximum.
Returns the maximum element of a stream . Returns the lastest element if the comparison determines two elements to be equally maximum .
fn max(self) -> Max<Self>
        where Self: Sized
    {
        Max::new(self)
    }
fn max ( self ) -> Max < Self > where Self : Sized { Max :: new ( self ) }
Returns the maximum element of a stream.
Returns the maximum element of a stream .
self
self
examples
```
use asyncplify::*; let mut value = 0.




` ` ` use asyncplify :: * ; let mut value = 0 .