Skip to content

Commit 0d382fa

Browse files
authored
sync: mention lagging in docs for broadcast::send (#5820)
1 parent d8847cf commit 0d382fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tokio/src/sync/broadcast.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,8 @@ impl<T> Sender<T> {
501501
///
502502
/// On success, the number of subscribed [`Receiver`] handles is returned.
503503
/// This does not mean that this number of receivers will see the message as
504-
/// a receiver may drop before receiving the message.
504+
/// a receiver may drop or lag ([see lagging](self#lagging)) before receiving
505+
/// the message.
505506
///
506507
/// # Note
507508
///

0 commit comments

Comments
 (0)