mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
doc: rename notify to notify_one (#3526)
This commit is contained in:
parent
e3f2dcf5bc
commit
36bcfa6b9d
@ -349,8 +349,8 @@ impl Notify {
|
|||||||
/// Notifies all waiting tasks
|
/// Notifies all waiting tasks
|
||||||
///
|
///
|
||||||
/// If a task is currently waiting, that task is notified. Unlike with
|
/// 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
|
/// `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
|
/// `notified().await`. The purpose of this method is to notify all
|
||||||
/// already registered waiters. Registering for notification is done by
|
/// already registered waiters. Registering for notification is done by
|
||||||
/// acquiring an instance of the `Notified` future via calling `notified()`.
|
/// acquiring an instance of the `Notified` future via calling `notified()`.
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user