OwnerGenerationIo.next.read: 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 257-269 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=257&end_line=269 import Base import mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerGeneration.bend as Generation def next.read( directory: String, result: Result<&1, &1, Error, U32> ) -> IO(Result<&1, &1, Error, U32>): match result: case Fail{Invalid{}}: IO.pure(Result<&1, &1, Error, U32>, Fail{Invalid{}}) case Fail{Host{code, message}}: IO.pure(Result<&1, &1, Error, U32>, Fail{Host{code, message}}) case Fail{Exhausted{}}: IO.pure(Result<&1, &1, Error, U32>, Fail{Exhausted{}}) case Done{current}: next.decision(directory, Generation.next(Some{current})) Uses (9): 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=Maybe 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=next 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=next.decision