def Bytes.open_existing_wait

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

import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsm
import Base
import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as RawByteDb

629def Bytes.open_existing_wait(
630  +path: String,
631  timeout_ms: U32,
632  backoff_ms: U32
633) -> IO(Result<&1, &1, Bytes.Error, Bytes.Handle>):
634  do IO<Result<&1, &1, Bytes.Error, Bytes.Handle>>:
635    opened : Result<&1, &1, RawByteDb.Error, RawByteDb.Handle> <-
636      RawByteDb.open_existing(path)
637    Bytes.owner.wait.candidate(path, timeout_ms, backoff_ms, opened)

Uses (11)

Used by (1)