Function pairing_delegate::handle_requests
source · pub async fn handle_requests(
stream: PairingDelegateRequestStream,
sig_channel: Sender<(PeerId, bool)>
) -> Result<(), Error>
Expand description
Handles requests from the PairingDelegateRequestStream
, prompting for
user input when necessary. Signals the status of an OnPairingComplete
event using the provided sig_channel.