Client.response.checked.result: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/Client.bend as Client Lines 176-184 of mylsm-lsm-store@0.6.0.1/src/coordinator/Client.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Client.bend&start_line=176&end_line=184 import Base import mylsm-lsm-store@0.6.0.1/src/coordinator/ClientPolicy.bend as Policy import mylsm-lsm-store@0.6.0.1/src/coordinator/Protocol.bend as Protocol def response.checked.result( response: Protocol.Response, decision: Policy.Decision ) -> Result<&1, &1, Error, Protocol.Response>: match decision: case Policy.ClientConfirmed{_}: result.response(response) case Policy.ClientStaleOwner{}: result.failure(StaleOwner{}) case Policy.ClientProtocolFailure{}: result.failure(CorrelationMismatch{}) case _: result.failure(CorrelationMismatch{}) Uses (6): 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/src/coordinator/Client.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Client.bend&name=result.failure https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Client.bend&name=result.response https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/ClientPolicy.bend&name=Decision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Protocol.bend&name=Response