def snapshot.cursor.count.close.resource
mylsm-lsm-store@0.6.0.1 · src/coordinator/ByteClient.bend:499
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
499def snapshot.cursor.count.close.resource(
500 session: Client.Session,
501 cursor_id: U32,
502 error: Client.Error
503) -> IO(Client.Session & Result<&1, &1, Client.Error, U32>):
504 do IO<Client.Session & Result<&1, &1, Client.Error, U32>>:
505 closed : Client.Session & Result<&1, &1, Client.Error, Unit> <-
506 snapshot.cursor.close(session, cursor_id)
507 return snapshot.cursor.count.close.result(closed, error)