Rx\Observable::skipWhile PHP 메소드

skipWhile() 공개 메소드

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.
리턴 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);
        });
    }