def compare_set

bendvy-ecs-core@0.1.0.3 · state.bend:28

import bendvy-ecs-core@0.1.0.3/state.bend as State
import Base
import capabilities.bend as Cap

28def compare_set(~H: Type,~Value: Data,~WriteError: Data,~equal: Value -> Value -> Bool,~read: Cap.Read<H,Value>,~write: Cap.Request<H,Value,WriteStatus<WriteError>>,owner: H,+expected: Value,+target: Value) -> H & Outcome<Value,WriteError>:
29  observed(~H,~Value,~WriteError,~equal,~write,expected,target,Cap.read(~H,~Value,~read,owner))

Uses (8)

Used by (1)