Skip to main content

Module pending_reason

Module pending_reason 

Source
Expand description

Why a pending ledger row is still pending.

The ledger records only that a row is waiting, never what for: the answer changes the moment the student links a number, and a stored copy would be a cache to keep true. Every surface that names the blocker derives it here, from the same facts preconditions::pending_moves decides the row’s next state from.

Structs§

PendingPreconditions
The preconditions a submission waits on, as they stand for one ledger row.
PendingReasonCounts
Live pending rows per blocker, for the surfaces that used to read the three states off the ledger.

Enums§

CreditRegistrationPendingReason
What a pending row is waiting for.