Rx\Observable::skipLast PHP Method

skipLast() public method

This operator accumulates a queue with a length enough to store the first count elements. As more elements are received, elements are taken from the front of the queue and produced on the result sequence. This causes elements to be delayed.
public skipLast ( integer $count ) : Rx\Observable\AnonymousObservable
$count integer Number of elements to bypass at the end of the source sequence.
return Rx\Observable\AnonymousObservable An observable sequence containing the source sequence elements except for the bypassed ones at the end.
    public function skipLast($count)
    {
        return $this->lift(function () use($count) {
            return new SkipLastOperator($count);
        });
    }