Block until the number of events this latch waits for reaches 0.
Declared in <bslmt_latch.h>
<bslmt_latch.h>
void wait();
Note that completion of this method does not guarantee this object is safe to destroy.