ByteBlockReader.entry.close: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend as ByteBlockReader Lines 1757-1766 of mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend&start_line=1757&end_line=1766 import Base # Closes the active SST reader and preserves terminal cursor states. def entry.close(cursor: EntryCursor) -> IO(Result<&1, &1, U32 & String, Unit>): match cursor: case EntryReady{reader, _}: close(reader) case EntryEnded{}: IO.pure(Result<&1, &1, U32 & String, Unit>, Done{Unit{}}) case EntryClosed{}: IO.pure(Result<&1, &1, U32 & String, Unit>, Done{Unit{}}) case EntryFailed{_}: IO.pure(Result<&1, &1, U32 & String, Unit>, Done{Unit{}}) 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=Pair 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=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend&name=EntryCursor https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend&name=close