Mylsm.Bytes.create.options.probe.result: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsm Lines 577-592 of mylsm-lsm-store@0.6.0.1/mylsm.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&start_line=577&end_line=592 import Base import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as RawByteDb def Bytes.create.options.probe.result( result: Result<&1, &1, Bytes.Error, Bytes.Handle> ) -> IO(Result<&1, &1, Bytes.Error, Bytes.Handle>): match result: case Fail{NotFound{}}: IO.pure(Result<&1, &1, Bytes.Error, Bytes.Handle>, Fail{InvalidArgument{}}) case Fail{error}: IO.pure(Result<&1, &1, Bytes.Error, Bytes.Handle>, Fail{error}) case Done{RemoteByteHandle{session}}: IO.pure(Result<&1, &1, Bytes.Error, Bytes.Handle>, Done{RemoteByteHandle{session}}) case Done{ByteHandle{raw}}: do IO>: _closed : Result<&1, &1, RawByteDb.Error, Unit> <- RawByteDb.close(raw) return Fail{AlreadyExists{}} 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.bind 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=Unit https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.Handle 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=close