def snapshot.cursor.close.result

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

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

476# Preserves the live client session after one close request.
477def snapshot.cursor.close.result(
478  pair: Client.Session & Result<&1, &1, Client.Error, Protocol.Response>
479) -> Client.Session & Result<&1, &1, Client.Error, Unit>:
480  match pair:
481    case (session, result): (session, snapshot.cursor.close.response(result))

Uses (8)

Used by (1)