HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //proc/self/root/usr/local/lib/python3.9/site-packages/vine/__pycache__/abstract.cpython-39.pyc
a

X>hT�@sLdZddlZddlmZdgZGdd�deejd�ZejGdd�d��ZdS)	zAbstract classes.�N)�Callable�Thenablec@sZeZdZdZdZejddd��Zejddd��Zejd	d
��Z	e
dd��Ze
d
d��ZdS)rz!Object that supports ``.then()``.�NcCs
t��dS�N��NotImplementedError��selfZ
on_successZon_errorrr�7/usr/local/lib/python3.9/site-packages/vine/abstract.py�then
sz
Thenable.thenTcCs
t��dSrr�r	�exc�tb�	propagaterrr
�throwszThenable.throwcCs
t��dSrr�r	rrr
�cancelszThenable.cancelcCs$|tur tdd�|jD��r dStS)Ncss|]}d|jvVqdS)rN)�__dict__)�.0�Brrr
�	<genexpr>�z,Thenable.__subclasshook__.<locals>.<genexpr>T)r�any�__mro__�NotImplemented)�cls�Crrr
�__subclasshook__szThenable.__subclasshook__cCst|��||�|Sr)�type�register)r�otherrrr
r szThenable.register)N)NNT)
�__name__�
__module__�__qualname__�__doc__�	__slots__�abc�abstractmethodrrr�classmethodrrrrrr
rs

)�	metaclassc@sbeZdZdZdd�Zddd�Zdd�Zdd	d
�Zddd
�Ze	dd��Z
e	dd��Ze	dd��ZdS)�
ThenableProxyz*Proxy to object that supports ``.then()``.cCs
||_dSr)�_p)r	�prrr
�_set_promise_target+sz!ThenableProxy._set_promise_targetNcCs|j�||�Sr)r+rrrrr
r.szThenableProxy.thencCs
|j��Sr)r+rrrrr
r1szThenableProxy.cancelcCs|j�|�Sr)r+�throw1)r	r
rrr
r.4szThenableProxy.throw1TcCs|jj|||d�S)N)rr)r+rrrrr
r7szThenableProxy.throwcCs|jjSr)r+�	cancelledrrrr
r/:szThenableProxy.cancelledcCs|jjSr)r+�readyrrrr
r0>szThenableProxy.readycCs|jjSr)r+�failedrrrr
r1BszThenableProxy.failed)N)N)NNT)
r!r"r#r$r-rrr.r�propertyr/r0r1rrrr
r*'s




r*)	r$r&�collections.abcr�__all__�ABCMetarrr*rrrr
�<module>s