def after_block

mylsm-lsm-store@0.6.0.1 · src/transfer/RestorePolicy.bend:9

import mylsm-lsm-store@0.6.0.1/src/transfer/RestorePolicy.bend as RestorePolicy
import Base

9# Decrements the declared block count exactly once after a validated block.
10def after_block(remaining: Nat) -> Advance:
11  match remaining:
12    case 0n: Invalid{}
13    case 1n: Finish{}
14    case 1n+rest: Continue{rest}

Uses (2)

Used by (1)