def snapshot.cursor.close

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

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

483def snapshot.cursor.close(
484  session: Client.Session,
485  cursor_id: U32
486) -> IO(Client.Session & Result<&1, &1, Client.Error, Unit>):
487  do IO<Client.Session & Result<&1, &1, Client.Error, Unit>>:
488    pair : Client.Session & Result<&1, &1, Client.Error, Protocol.Response> <-
489      Client.session.call(session, 14, Protocol.snapshot.id.bytes(cursor_id))
490    return snapshot.cursor.close.result(pair)

Uses (13)

Used by (4)