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

Sleeps for the specified duration, expressed as an `absl&colon;&colon;Duration`&period;

== Synopsis

Declared in `&lt;absl&sol;time&sol;clock&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SleepFor(xref:absl/Duration.adoc[absl::Duration] duration);
----

== Description

Notes&colon; &ast; Signal interruptions will not reduce the sleep duration&period; &ast; Returns immediately when passed a nonpositive duration&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *duration*
| The length of time to sleep&period;
|===


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