def snapshot.cursor.open.request
mylsm-lsm-store@0.6.0.1 · src/coordinator/ByteClient.bend:327
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
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
327def snapshot.cursor.open.request(
328 session: Client.Session,
329 payload: Bytes.Bytes
330) -> IO(Client.Session & Result<&1, &1, Client.Error, U32>):
331 do IO<Client.Session & Result<&1, &1, Client.Error, U32>>:
332 pair : Client.Session & Result<&1, &1, Client.Error, Protocol.Response> <-
333 Client.session.call(session, 12, payload)
334 return snapshot.cursor.open.result(pair)