def none.reset

cswap-bend-cli@0.1.0.0 · policy/decide.bend:165

import cswap-bend-cli@0.1.0.0/policy/decide.bend as Decide
import Base
import cswap-bend-cli@0.1.0.0/policy/types.bend as T

165def none.reset(+ars: Maybe<&2, Nat>) -> T.Decision:
166  match ars:
167    case None{}:
168      T.NoSwitch{T.ResetUnknown{}, "active account's weekly reset time is unknown; consume-first is idle until it is reported"}
169    case Some{r}:
170      T.NoSwitch{T.AlreadyConsumingSoonest{}, "no sooner-resetting account with room to spare"}

Uses (4)

Used by (1)