diff options
Diffstat (limited to 'src/transport/paths.rs')
| -rw-r--r-- | src/transport/paths.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/transport/paths.rs b/src/transport/paths.rs index ce19fd4..8149781 100644 --- a/src/transport/paths.rs +++ b/src/transport/paths.rs @@ -667,6 +667,13 @@ impl Paths { .collect() } + /// Each transport's (`Transport::on_seeds_found`). + pub(crate) fn on_seeds_found(&self, found: std::sync::Arc<tokio::sync::Notify>) { + for link in &self.links { + link.inner.on_seeds_found(found.clone()); + } + } + /// The address of the node a seed leads to, as paths keep it: an address of ours /// (`<scheme>:...`) whose transport reads it at once; with a scheme of ours, what /// that transport resolves the rest to (an address the transport can't read as an |
