Skip to content

Commit

Permalink
some more doc
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Jul 7, 2023
1 parent c4900b1 commit 9be3b31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/re_sdk/src/log_sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ impl MemorySinkStorage {
}

/// Consumes and returns the inner array of [`LogMsg`].
///
/// This automatically takes care of flushing the underlying [`crate::RecordingStream`].
#[inline]
pub fn take(&self) -> Vec<LogMsg> {
if let Some(rec_stream) = self.rec_stream.as_ref() {
Expand Down

0 comments on commit 9be3b31

Please sign in to comment.