def Bytes.options.remote
mylsm-lsm-store@0.6.0.1 · mylsm.bend:530
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
import mylsm-lsm-store@0.6.0.1/src/coordinator/ByteClient.bend as OwnerByteClient
import mylsm-lsm-store@0.6.0.1/src/ResourceOptions.bend as ResourceOptions
import mylsm-lsm-store@0.6.0.1/src/coordinator/OptionsCodec.bend as OwnerOptionsCodec
530def Bytes.options.remote(
531 session: OwnerClient.Session,
532 expected: ResourceOptions.Options
533) -> IO(Result<&1, &1, Bytes.Error, Bytes.Handle>):
534 do IO<Result<&1, &1, Bytes.Error, Bytes.Handle>>:
535 described : OwnerClient.Session &
536 Result<&1, &1, OwnerClient.Error, OwnerOptionsCodec.Decision> <-
537 OwnerByteClient.describe_owner(session)
538 Bytes.options.remote.result(described, expected)