[#absl-Notification-WaitForNotificationWithDeadline] = xref:absl.adoc[absl]::xref:absl/Notification.adoc[Notification]::WaitForNotificationWithDeadline :relfileprefix: ../../ :mrdocs: Blocks until the notification is notified or a deadline expires. == Synopsis Declared in `<absl/synchronization/notification.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool WaitForNotificationWithDeadline(xref:absl/Time.adoc[absl::Time] deadline) const; ---- == Description Blocks until either the notification's "notified" state is `true` (which may occur immediately) or the deadline has expired, returning the value of its "notified" state in either case. == Return Value The value of the "notified" state when the call returns. == Parameters [cols="1,4"] |=== | Name| Description | *deadline* | The absolute time past which to stop waiting. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#