CursorCleanupPolicy.combine: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/CursorCleanupPolicy.bend as CursorCleanupPolicy Lines 3-12 of mylsm-lsm-store@0.6.0.1/src/scan/CursorCleanupPolicy.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/CursorCleanupPolicy.bend&start_line=3&end_line=12 import Base # Preserves the first cleanup failure and otherwise returns the final result. def combine( a, -E: Kind(a), first: Result, second: Result ) -> Result: match first: case Fail{error}: Fail{error} case Done{Unit{}}: second Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit