def await_latch(self, timeout):
return self._encode_invoke(count_down_latch_await_codec, timeout=to_millis(timeout))<EOL>
Causes the current thread to wait until the latch has counted down to zero, or the specified waiting time
elapses.

If the current count is zero then this method returns immediately with the value ``true``.

If the current count is greater than zero, then the current thread becomes disabled for thread scheduling
purposes and lies dormant until one of following happens:

    * the count reaches zero due to invocations of the countDown() method,
    * this CountDownLatch instance is destroyed,
    * the countdown owner becomes disconnected,
    * some other thread interrupts the current thread, or
    * the specified waiting time elapses.

If the count reaches zero, then the method returns with the value ``true``.

:param timeout: (long), the maximum time in seconds to wait.
:return: (bool), ``true`` if the count reached zero, ``false`` if the waiting time elapsed before the count reached zero.