def snapshot.cursor.seek.response

mylsm-lsm-store@0.6.0.1 · src/coordinator/ByteClient.bend:378

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

378def snapshot.cursor.seek.response(
379  result: Result<&1, &1, Client.Error, Protocol.Response>
380) -> Result<&1, &1, Client.Error, Unit>:
381  match result:
382    case Fail{error}: Fail{error}
383    case Done{Protocol.Response{_, _, _, status, payload}}:
384      snapshot.cursor.seek.status(status, payload)

Uses (5)

Used by (1)