Client.response.validation.request: 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 154-166 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=154&end_line=166 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.validation.request( response: Protocol.Response, request: Protocol.Request, generations: U32 & U32 & U32 ) -> Policy.Decision: match response: case Protocol.Response{version, response_generation, request_id, _, _}: match request: case Protocol.Request{request_version, request_generation, expected_id, _, _}: response.validation.fields((version, (response_generation, request_id)), (request_version, (request_generation, expected_id)), generations) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Client.bend&name=response.validation.fields 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=Request https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Protocol.bend&name=Response