Rx\Observable::skipWhile PHP Method

skipWhile() public method

Bypasses elements in an observable sequence as long as a specified condition is true and then returns the remaining elements.
public skipWhile ( callable $predicate ) : Rx\Observable\AnonymousObservable
$predicate callable A function to test each element for a condition.
return Rx\Observable\AnonymousObservable An observable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate.
    public function skipWhile(callable $predicate)
    {
        return $this->lift(function () use($predicate) {
            return new SkipWhileOperator($predicate);
        });
    }