🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-08 16:01:17 | PHP 8.2.32
📂
/ (Root)
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
reactivex
/
operators
/
__pycache__
📍 /opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/__pycache__
🔄 Refresh
✏️
Editing: _skiplast.cpython-38.pyc
Read Only
U v�i6 � @ s\ d dl mZmZmZmZ d dlmZmZ ed�Ze eee gee f d�dd�Z dgZdS )� )�Callable�List�Optional�TypeVar)� Observable�abc�_T)�count�returnc s t t t t d�� fdd�}|S )N)�sourcer c s, dt jt tt j d��� fdd� }t|�S )ar Bypasses a specified number of elements at the end of an observable sequence. 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. Args: count: Number of elements to bypass at the end of the source sequence. Returns: An observable sequence containing the source sequence elements except for the bypassed ones at the end. N)�observer� schedulerc s4 g �t d d��� ��fdd�}�j|� j� j|d�S )N)�valuer c sL d }�j �& ��| � t��� kr,��d�}W 5 Q R X |d k rH��|� d S )Nr )�lock�append�len�pop�on_next)r Zfront)r r �qr � �N/opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/_skiplast.pyr ! s zAskip_last_.<locals>.skip_last.<locals>.subscribe.<locals>.on_next)r )r � subscribeZon_errorZon_completed)r r r )r r )r r r r s �z0skip_last_.<locals>.skip_last.<locals>.subscribe)N)r ZObserverBaser r Z SchedulerBaser )r r �r )r r � skip_last s ��zskip_last_.<locals>.skip_last)r r )r r r r r � skip_last_ s (r N)�typingr r r r Z reactivexr r r �intr �__all__r r r r �<module> s ",
💾 Save Changes
❌ Cancel