[#BloombergLP-bslmt-TimedCompletionGuard-updateText]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/TimedCompletionGuard.adoc[TimedCompletionGuard]::updateText
:relfileprefix: ../../../
:mrdocs:

Use the specified `text` for alerting when the current duration expires&period; Return 0 on success, and a non&hyphen;zero value if `false &equals;&equals; isGuarding()`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
updateText(std::string&lowbar;view const& text);
----


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