ByteDurableDb.close.released: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as ByteDurableDb Lines 3097-3105 of mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend&start_line=3097&end_line=3105 import Base import mylsm-lsm-store@0.6.0.1/src/DurableError.bend as DurableError # Restores a read handle after byte lookup. def close.released( result: Result<&1, &1, DurableError.Error, Unit> ) -> Result<&1, &1, Error, Unit>: match result: case Fail{error}: Fail{lock.error(error)} case Done{Unit{}}: Done{Unit{}} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend&name=lock.error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/DurableError.bend&name=Error