def next.result
import mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerGeneration.bend as OwnerGenerationimport Base
9# Separates the increment result from the wrap test.
10def next.result(generation: U32, wraps: Bool) -> Decision:
11 match wraps:
12 case True{}: GenerationExhausted{}
13 case False{}: GenerationReady{generation}