mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
net/channel: correct and reword docstring comment
This commit is contained in:
@@ -137,9 +137,8 @@ impl Channel {
|
||||
debug!(target: "net::channel::start()", "END {:?}", self);
|
||||
}
|
||||
|
||||
/// Stops the channel. Steps through each component of the channel connection
|
||||
/// and sends a stop signal. Notifies all subscribers that the channel has
|
||||
/// been closed.
|
||||
/// Stops the channel.
|
||||
/// Notifies all subscribers that the channel has been closed in `handle_stop()`.
|
||||
pub async fn stop(&self) {
|
||||
debug!(target: "net::channel::stop()", "START {:?}", self);
|
||||
self.receive_task.stop().await;
|
||||
|
||||
Reference in New Issue
Block a user