ByteClient.get.outcome: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/ByteClient.bend as ByteClient Lines 54-62 of mylsm-lsm-store@0.6.0.1/src/coordinator/ByteClient.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/ByteClient.bend&start_line=54&end_line=62 import Base import mylsm-lsm-store@0.6.0.1/src/coordinator/Client.bend as Client import mylsm-lsm-store@0.6.0.1/src/coordinator/ClientPolicy.bend as Policy import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes def get.outcome( outcome: Policy.GetStatus, payload: Bytes.Bytes ) -> Result<&1, &1, Client.Error, Maybe<&1, Bytes.Bytes>>: match outcome: case Policy.GetValueStatus{}: result.value(Some{payload}) case Policy.GetMissingStatus{}: result.value(None{}) case Policy.GetFailureStatus{status}: result.failure(Client.OwnerRejected{status}) Uses (7): 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=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/ByteClient.bend&name=result.failure https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/ByteClient.bend&name=result.value https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Client.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/ClientPolicy.bend&name=GetStatus