~/bend-docscommunity

src/coordinator/OwnerOpenPolicy.bend checks

raw source on the hub · import mylsm-lsm-store@0.6.0.0/src/coordinator/OwnerOpenPolicy.bend as OwnerOpenPolicy

1 import
import Base

Types

type Decision source · line 4 · raw

Data

Says whether an open keeps its handle or rejects the requested options.

Definitions

def matched source · line 10 · raw

@local:Bool -> Decision

Picks the handle kind that a matching open keeps.

def choose source · line 16 · raw

@local:Bool -> @matches:Bool -> Decision

Keeps the opened handle only when the requested options match the effective ones.