mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-22 00:00:11 +02:00
doc: rename notify to notify_one (#3526)
This commit is contained in:
@@ -349,8 +349,8 @@ impl Notify {
|
||||
/// Notifies all waiting tasks
|
||||
///
|
||||
/// If a task is currently waiting, that task is notified. Unlike with
|
||||
/// `notify()`, no permit is stored to be used by the next call to
|
||||
/// [`notified().await`]. The purpose of this method is to notify all
|
||||
/// `notify_one()`, no permit is stored to be used by the next call to
|
||||
/// `notified().await`. The purpose of this method is to notify all
|
||||
/// already registered waiters. Registering for notification is done by
|
||||
/// acquiring an instance of the `Notified` future via calling `notified()`.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user