OwnerGenerationIo.next.decision: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerGenerationIo.bend as OwnerGenerationIo Lines 248-255 of mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerGenerationIo.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerGenerationIo.bend&start_line=248&end_line=255 import Base import mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerGeneration.bend as Generation def next.decision( directory: String, decision: Generation.Decision ) -> IO(Result<&1, &1, Error, U32>): match decision: case Generation.GenerationExhausted{}: IO.pure(Result<&1, &1, Error, U32>, Fail{Exhausted{}}) case Generation.GenerationReady{generation}: write(directory, generation) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerGeneration.bend&name=Decision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerGenerationIo.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerGenerationIo.bend&name=write