🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-08 23:28:32 | PHP 8.2.33
📂
/ (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: _partition.cpython-38.pyc
Read Only
U v�i� � @ s� d dl mZmZmZ d dlmZ d dlmZ d dlm Z m Z ed�Ze e eee geee f d�dd�Ze e eee geee f d �d d�Z ddgZdS ) � )�Callable�List�TypeVar)� Observable)� operators)� Predicate�PredicateIndexed�_T)� predicate�returnc s$ t t tt t d�� fdd�}|S )N��sourcer c sH t td�� fdd�}| �t�� t�� �}|�t�� ��|�t�|��gS )a3 The partially applied `partition` operator. Returns two observables which partition the observations of the source by the given function. The first will trigger observations for those values for which the predicate returns true. The second will trigger observations for those values where the predicate returns false. The predicate is executed once for each subscribed observer. Both also propagate all error observations arising from the source and each completes when the source completes. Args: source: Source observable to partition. Returns: A list of observables. The first triggers when the predicate returns True, and the second triggers when the predicate returns False. )�xr c s � | � S �N� )r �r r �O/opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/_partition.py� not_predicate"