Mylsm.Bytes.options.decided: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsm Lines 496-505 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=496&end_line=505 import Base import mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerOpenPolicy.bend as OwnerOpenPolicy def Bytes.options.decided( decision: OwnerOpenPolicy.Decision, handle: Bytes.Handle ) -> IO(Result<&1, &1, Bytes.Error, Bytes.Handle>): match decision: case OwnerOpenPolicy.UseLocal{}: IO.pure(Result<&1, &1, Bytes.Error, Bytes.Handle>, Done{handle}) case OwnerOpenPolicy.UseRemote{}: IO.pure(Result<&1, &1, Bytes.Error, Bytes.Handle>, Done{handle}) case OwnerOpenPolicy.RejectOptions{}: Bytes.options.rejected(handle) Uses (7): 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=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/mylsm.bend&name=Bytes.options.rejected https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerOpenPolicy.bend&name=Decision