def snapshot.cursor.open.response
mylsm-lsm-store@0.6.0.1 · src/coordinator/ByteClient.bend:311
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
311def snapshot.cursor.open.response(
312 result: Result<&1, &1, Client.Error, Protocol.Response>
313) -> Result<&1, &1, Client.Error, U32>:
314 match result:
315 case Fail{error}: Fail{error}
316 case Done{response}:
317 match response:
318 case Protocol.Response{_, _, _, status, payload}:
319 snapshot.cursor.open.status(status, payload)