
                             S SK JrJr  S SKJrJrJrJrJr  S SK	J
r
  S SKJrJrJr   " S S\\S9r\\\\\      \/\4   rg)	    )abstractmethodABCMeta)AsyncContextManagerCallableListSetOptional)Message)SubscriptionPathFlowControlSettings	Partitionc                   6    \ rS rSrSr\S\\   4S j5       rSr	g)AsyncSingleSubscriber   zz
A Cloud Pub/Sub asynchronous subscriber.

Must be used in an `async with` block or have __aenter__() awaited before use.
returnc                    #    [        5       e7f)ai  
Read the next batch off of the stream.

Returns:
  The next batch of messages. ack() or nack() must eventually be called
  exactly once on each message.

  Pub/Sub Lite does not support nack() by default- if you do call nack(), it will immediately fail the client
  unless you have a NackHandler installed.

Raises:
  GoogleAPICallError: On a permanent error.
)NotImplementedError)selfs    Qlib/third_party/google/cloud/pubsublite/cloudpubsub/internal/single_subscriber.pyreadAsyncSingleSubscriber.read"   s      "##s    N)
__name__
__module____qualname____firstlineno____doc__r   r   r
   r   __static_attributes__r       r   r   r      s&     $DM $ $r   r   )	metaclassN)abcr   r   typingr   r   r   r   r	   )google.cloud.pubsub_v1.subscriber.messager
   google.cloud.pubsublite.typesr   r   r   r   AsyncSubscriberFactoryr   r   r   <module>r&      sU    ( E E = $/7 $2 "xI/1DE r   