def snapshot.cursor.open.range
mylsm-lsm-store@0.6.0.1 · src/coordinator/ByteClient.bend:336
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/CursorOpenCodec.bend as CursorOpenCodec
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
336
337def snapshot.cursor.open.range(
338 session: Client.Session,
339 snapshot_id: U32,
340 lower: Maybe<&1, Bytes.Bytes>,
341 upper: Maybe<&1, Bytes.Bytes>
342) -> IO(Client.Session & Result<&1, &1, Client.Error, U32>):
343 snapshot.cursor.open.request(session,
344 CursorOpenCodec.encode.range(snapshot_id, lower, upper))