U
    I|jÒ
  ã                   @   sš   d Z ddlmZ dZdZeƒ Zdd„ ZeZeZeZ	eZ
eZeZeZeZeZeZeZeZeZeZeZeZeZeZeZeZeZeZeZeZeZeZ eZ!eZ"dS )z¹
This provides a version of the API which only throws exceptions;
this is the default so that you have to pick asyncio or twisted
explicitly by calling .use_twisted() or .use_asyncio()
é    )Ú_ConfigFc                  O   s   t dƒ‚d S )NzUTo use txaio, you must first select a framework with .use_twisted() or .use_asyncio())ÚRuntimeError)ÚargsÚkw© r   ú6/tmp/pip-unpacked-wheel-62jc6lv3/txaio/_unframework.pyÚ_throw_usage_error(   s    ÿr   N)#Ú__doc__Ztxaior   Zusing_twistedZusing_asyncioÚconfigr   Zwith_configZcreate_futureZcreate_future_successZcreate_future_errorZcreate_failureZ	as_futureZ	is_futureÚrejectÚcancelÚresolveZadd_callbacksZgatherZ	is_calledZ
call_laterZfailure_messageZfailure_tracebackZfailure_format_tracebackZmake_batched_timerZmake_loggerZstart_loggingZset_global_log_levelZget_global_log_levelZadd_log_categoriesZIFailedFutureZILoggerÚsleepÚtime_nsÚperf_counter_nsr   r   r   r   Ú<module>   sB   