[#BloombergLP-bslmt-Latch-wait]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/Latch.adoc[Latch]::wait
:relfileprefix: ../../../
:mrdocs:

Block until the number of events this latch waits for reaches 0&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;latch&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
wait();
----

== Description

Note that completion of this method does not guarantee this object is safe to destroy&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
