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


` ` ` use asyncplify :: * ; use asyncplify :: schedulers :: * .