🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-08 10:25:00 | 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: _map.cpython-38.pyc
Read Only
U v�iQ � @ s� d dl mZmZmZmZ d dlmZmZmZ d dlm Z d dlm Z d dlmZ d dl mZ d dlmZmZ ed�Zed �Zdeeeef eee gee f d�dd �Zdeeeef eee gee f d�dd�Zd dgZd S )� )�Callable�Optional�TypeVar�cast)� Observable�abc�compose)� operators)�typing)�identity)�infinite)�Mapper� MapperIndexed�_T1�_T2N)�mapper�returnc s6 | pt tttf t�� tt tt d�� fdd�}|S )N)�sourcer c s0 dt jt tt j t jd��� fdd� }t|�S )a� Partially applied map operator. Project each element of an observable sequence into a new form by incorporating the element's index. Example: >>> map(source) Args: source: The observable source to transform. Returns: Returns an observable sequence whose elements are the result of invoking the transform function on each element of the source. N)�obv� schedulerr c s, t d d��� fdd�}�j|� j� j|d�S )N)�valuer c sH z� | �}W n, t k r8 } z��|� W 5 d }~X Y nX ��|� d S �N)� Exception�on_error�on_next)r �result�err)�_mapperr � �I/opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/_map.pyr ( s z5map_.<locals>.map.<locals>.subscribe.<locals>.on_next)r )r � subscriber Zon_completed)r r r )r r )r r r % s �z$map_.<locals>.map.<locals>.subscribe)N)r ZObserverBaser r Z SchedulerBaseZDisposableBaser )r r �r )r r �map s � �zmap_.<locals>.map)r r r r r r )r r"