def Bytes.snapshot.clone.remote

mylsm-lsm-store@0.6.0.1 · mylsm.bend:860

import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsm
import Base
import mylsm-lsm-store@0.6.0.1/src/coordinator/Client.bend as OwnerClient

860def Bytes.snapshot.clone.remote(
861  +snapshot_id: U32,
862  sessions: OwnerClient.Session & OwnerClient.Session
863) -> Bytes.Snapshot & Bytes.Snapshot:
864  match sessions:
865    case (first, second):
866      (RemoteByteSnapshot{first, snapshot_id},
867        RemoteByteSnapshot{second, snapshot_id})

Uses (5)

Used by (1)