Skip to content

Commit 9c69c75

Browse files
committed
chore: Add comment for request-response manager.
1 parent c0b1ddb commit 9c69c75

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/p2p/rr_man.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ use libp2p::{
77
StreamProtocol,
88
};
99

10+
// Used to manage the index of request-response protocols.
11+
// TODO: Implement logic to handle request-response behaviour directly
12+
// based on protocol name.
13+
// Note: This may require some map-like behaviour to mimic StreamMap
1014
#[derive(Debug)]
1115
pub struct Behaviour {
1216
rr_list: IndexMap<StreamProtocol, usize>,

0 commit comments

Comments
 (0)