ó
    €Ïï  ã                   ó°   • S SK Jr  S SKrS SKJrJrJr  S SKr	 " S S\R                  R                  \	R                  R                  R                  5      rg)é    )Úabsolute_importN)ÚAnyÚNoReturnÚOptionalc                   ój   ^ • \ rS rSrSrS\4S jrS\4S jrS\	4U 4S jjr
S\\   4U 4S	 jjrS
rU =r$ )ÚFutureé   a  Encapsulation of the asynchronous execution of an action.

This object is returned from asychronous Pub/Sub calls, and is the
interface to determine the status of those calls.

This object should not be created directly, but is returned by other
methods in this library.
Úreturnc                 ó,   • U R                  5       (       + $ )zGReturn ``True`` if the associated Pub/Sub action has not yet completed.)Údone©Úselfs    Ú1lib/third_party/google/cloud/pubsub_v1/futures.pyÚrunningÚFuture.running!   s   € à—9‘9“;ŒÐó    c                 ó   • [        S5      e)Nz9Only used by executors from `concurrent.futures` package.)ÚNotImplementedErrorr   s    r   Úset_running_or_notify_cancelÚ#Future.set_running_or_notify_cancel%   s   € Ü!ØGó
ð 	
r   Úresultc                 ó   >• [         TU ]  US9$ )z—Set the return value of work associated with the future.

Do not use this method, it should only be used internally by the library and its
unit tests.
)r   )ÚsuperÚ
set_result)r   r   Ú	__class__s     €r   r   ÚFuture.set_result*   s   ø€ ô ‰wÑ!¨Ð!Ð0Ð0r   Ú	exceptionc                 ó   >• [         TU ]  US9$ )z™Set the result of the future as being the given exception.

Do not use this method, it should only be used internally by the library and its
unit tests.
)r   )r   Úset_exception)r   r   r   s     €r   r   ÚFuture.set_exception2   s   ø€ ô ‰wÑ$¨yÐ$Ð9Ð9r   © )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Úboolr   r   r   r   r   r   ÚBaseExceptionr   Ú__static_attributes__Ú__classcell__)r   s   @r   r   r      sB   ø† ñð˜ô ð
¨hô 
ð
1 ÷ 1ð: x°Ñ'>÷ :õ :r   r   )Ú
__future__r   Úconcurrent.futuresÚ
concurrentÚtypingr   r   r   Úgoogle.api_core.futureÚgoogleÚfuturesr   Úapi_coreÚfuturer!   r   r   Ú<module>r4      s@   ðõ 'ã ß *Ñ *ã ô!:ˆZ×Ñ×&Ñ&¨¯©×(>Ñ(>×(EÑ(Eõ !:r   