ByteClient.snapshot.cursor.close.response: 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 465-474 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=465&end_line=474 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/Protocol.bend as Protocol # Maps transport or owner response errors into one close result. def snapshot.cursor.close.response( result: Result<&1, &1, Client.Error, Protocol.Response> ) -> Result<&1, &1, Client.Error, Unit>: match result: case Fail{error}: Fail{error} case Done{response}: match response: case Protocol.Response{_, _, _, status, payload}: snapshot.cursor.close.status(status, payload) Uses (5): 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/src/coordinator/ByteClient.bend&name=snapshot.cursor.close.status 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/Protocol.bend&name=Response