def close.released

mylsm-lsm-store@0.6.0.1 · src/ByteDurableDb.bend:3097

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

3097# Restores a read handle after byte lookup.
3098def close.released(
3099  result: Result<&1, &1, DurableError.Error, Unit>
3100) -> Result<&1, &1, Error, Unit>:
3101  match result:
3102    case Fail{error}:
3103      Fail{lock.error(error)}
3104    case Done{Unit{}}:
3105      Done{Unit{}}

Uses (5)

Used by (1)