Skip to content

Commit

Permalink
Improve publisher reliability doc.
Browse files Browse the repository at this point in the history
Co-authored-by: Luca Cominardi <[email protected]>
  • Loading branch information
OlivierHecart and Mallets authored Sep 4, 2024
1 parent b6bf334 commit 38ef610
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zenoh/src/api/builders/publisher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,8 @@ impl<'a, 'b> PublisherBuilder<'a, 'b> {
}

/// Change the `reliability`` to apply when routing the data.
/// NOTE: Currently `reliability` does not trigger any data retransmission on the wire.
/// It is rather used as a marker on the wire and it may be used to select the best link available (e.g. TCP for reliable data and UDP for best effort data).
#[zenoh_macros::unstable]
#[inline]
pub fn reliability(self, reliability: Reliability) -> Self {
Expand Down

0 comments on commit 38ef610

Please sign in to comment.