def snapshot.cursor.close.response
mylsm-lsm-store@0.6.0.1 · src/coordinator/ByteClient.bend:465
import mylsm-lsm-store@0.6.0.1/src/coordinator/ByteClient.bend as ByteClient
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
465
466def snapshot.cursor.close.response(
467 result: Result<&1, &1, Client.Error, Protocol.Response>
468) -> Result<&1, &1, Client.Error, Unit>:
469 match result:
470 case Fail{error}: Fail{error}
471 case Done{response}:
472 match response:
473 case Protocol.Response{_, _, _, status, payload}:
474 snapshot.cursor.close.status(status, payload)