def __init__(self, connection): self._connection = connection self._iterator = connection.iterconsume() self._result = None self._done = False self._got_ending = False
def __init__(self, connection): self._connection = connection self._iterator = connection.iterconsume() self._result = None self._done = False
def __init__(self, connection, msg_handler): self._connection = connection self._msg_handler = msg_handler self._iterator = connection.iterconsume() self._done = False