[#absl-Notification-WaitForNotification]
= xref:absl.adoc[absl]::xref:absl/Notification.adoc[Notification]::WaitForNotification
:relfileprefix: ../../
:mrdocs:

Blocks the calling thread until the notification is notified&period;

== Synopsis

Declared in `&lt;absl&sol;synchronization&sol;notification&period;h&gt;`

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

== Description

Blocks the calling thread until the notification&apos;s &quot;notified&quot; state is `true`&period; Note that if `Notify()` has been previously called on this notification, this function will immediately return&period;


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