[#BloombergLP-ball-TestObserver-lastPublishedRecord]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/TestObserver.adoc[TestObserver]::lastPublishedRecord
:relfileprefix: ../../../
:mrdocs:

Return a reference to the record most recently published by this test observer&period;

== Synopsis

Declared in `&lt;ball&lowbar;testobserver&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/Record.adoc[Record] const&
lastPublishedRecord() const;
----

== Description

Return a reference to the record most recently published by this test observer&period; The behavior is undefined unless `publish` has been called at least once, and no other thread is manipulating this object concurrently (i&period;e&period;, this function is _not_ thread safe)&period;

== Return Value

reference to the most recently published record


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