rx/core/observablebase.py
def take_last(self, count: int) -> 'ObservableBase':
        """Returns a specified number of contiguous elements from the
        end of an observable sequence.

        Example:
        res = source.take_last(5)

        Description:
        This operator accumulates a buffer with a length enough to store
        elements count elements. Upon completion of the source sequence,
        this buffer is drained on the result sequence. This causes the
        elements to be delayed.

        Keyword arguments:
        count - Number of elements to take from the end of the source
            sequence.

        Returns an observable sequence containing the specified number
            of elements from the end of the source sequence.
        """
        from ..operators.observable.takelast import take_last
        return take_last(count, self)
Returns a specified number of contiguous elements from the
        end of an observable sequence.

        Example:
        res = source.take_last(5)

        Description:
        This operator accumulates a buffer with a length enough to store
        elements count elements. Upon completion of the source sequence,
        this buffer is drained on the result sequence. This causes the
        elements to be delayed.

        Keyword arguments:
        count - Number of elements to take from the end of the source
            sequence.

        Returns an observable sequence containing the specified number
            of elements from the end of the source sequence.
        
Returns a specified number of contiguous elements from the
end of an observable sequence.
Returns a specified number of contiguous elements from the end of an observable sequence .
def take_last(self, count: int) -> 'ObservableBase':
        from ..operators.observable.takelast import take_last
        return take_last(count, self)
def take_last ( self , count : int ) -> 'ObservableBase' : from . . operators . observable . takelast import take_last return take_last ( count , self )
Returns a specified number of contiguous elements from the
end of an observable sequence.
Returns a specified number of contiguous elements from the end of an observable sequence .
"""Returns a specified number of contiguous elements from the
        end of an observable sequence.

        Example:
        res = source.take_last(5)

        Description:
        This operator accumulates a buffer with a length enough to store
        elements count elements. Upon completion of the source sequence,
        this buffer is drained on the result sequence. This causes the
        elements to be delayed.

        Keyword arguments:
        count - Number of elements to take from the end of the source
            sequence.

        Returns an observable sequence containing the specified number
            of elements from the end of the source sequence.
        """
self
count
int
examples
None