mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-04-20 07:56:05 -04:00
Add note on simultanous execution of the protocol
This commit is contained in:
parent
a8fe340a02
commit
1429cd7802
@ -322,6 +322,9 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
/// A behaviour that can execute await/.async protocols.
|
||||
///
|
||||
/// Note: It is not possible to execute the same protocol with the same peer several simultaneous times.
|
||||
pub struct Behaviour<I, O, E> {
|
||||
protocol_in_events: VecDeque<(PeerId, ProtocolInEvent<I, O, E>)>,
|
||||
protocol_out_events: VecDeque<(PeerId, ProtocolOutEvent<I, O, E>)>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user