Skip to main content

claim_due_for_verify

Function claim_due_for_verify 

Source
pub async fn claim_due_for_verify(
    conn: &mut PgConnection,
    flow: VerifyFlow,
    scope: &RegistrationScope,
    limit: i64,
) -> ModelResult<Vec<CreditRegistration>>
Expand description

Claims rows for one of verify’s flows. Each flow is claimed on its own, so that rows one flow has no allowance to send cannot fill the other’s claim.