1/n Add pause/start actions
This commit is contained in:
parent
afbf2a76b9
commit
0c4844f534
4 changed files with 50 additions and 12 deletions
|
|
@ -690,7 +690,8 @@ impl Dht {
|
|||
});
|
||||
Ok(Dht { state })
|
||||
}
|
||||
pub async fn get_peers(
|
||||
|
||||
pub fn get_peers(
|
||||
&self,
|
||||
info_hash: Id20,
|
||||
) -> anyhow::Result<impl Stream<Item = SocketAddr> + Unpin> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue