Skip to main content

verification_loop

Function verification_loop 

Source
pub async fn verification_loop<V: ProviderVerifier>(
    verifier: V,
    requests: UnboundedReceiver<VerifyRequest>,
    replies: UnboundedSender<VerifyReply>,
)
Expand description

Answer verification requests until the wizard drops its sender.

Sequential rather than fanned out: the answers land on separate provider cards a user reads one at a time, and firing six requests at once buys nothing but a chance to trip a rate limiter with what is supposed to be a harmless check.