Apache.NMS.Util.CountDownLatch.await C# (CSharp) Method

await() public method

Causes the current thread to wait until the latch has counted down to zero, unless the thread is interrupted, or the specified waiting time elapses.
public await ( System.TimeSpan timeout ) : bool
timeout System.TimeSpan
return bool
        public bool await(TimeSpan timeout)
        {
            return mutex.WaitOne((int) timeout.TotalMilliseconds, false);
        }

Same methods

CountDownLatch::await ( ) : void