Hacked By AnonymousFox
B
��Y[ � @ sD d Z ddlmZ ddlZddlmZ ddlmZ G dd� de�ZdS )z�
raven.contrib.async
~~~~~~~~~~~~~~~~~~~
:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
� )�absolute_importN)�Client)�AsyncWorkerc s6 e Zd ZdZd � fdd� Z� fdd�Zdd� Z� ZS )
�AsyncClientzI
This client uses a single background thread to dispatch errors.
Nc s. t �dt� |pt� | _tt| �j||� d S )NzCAsyncClient is deprecated. Use the threaded+http transport instead.)�warnings�warn�DeprecationWarningr �worker�superr �__init__)�selfr �args�kwargs)� __class__� �D/opt/alt/python37/lib/python3.7/site-packages/raven/contrib/async.pyr s zAsyncClient.__init__c s t t| �jf |� d S )N)r
r �send)r r )r r r � send_sync s zAsyncClient.send_syncc K s | j j| jf|� d S )N)r �queuer )r r r r r r s zAsyncClient.send)N)�__name__�
__module__�__qualname__�__doc__r r r �
__classcell__r r )r r r s r ) r �
__future__r r Z
raven.baser Zraven.transport.threadedr r r r r r �<module> s
Hacked By AnonymousFox1.0, Coded By AnonymousFox