type SetResult

bendvy-ecs-core@0.1.0.3 · component.bend:36

import bendvy-ecs-core@0.1.0.3/component.bend as Component
import Base
import world.bend as W

36# Transactional write result. Written retains the Tx with its inverse journal;
37# WriteRejected additionally returns the actual incoming C. WriteFailure has no
38# incoming owner. These results do not themselves commit or finish the transaction.
39type SetResult<Tx: Type,C: Type> is Type:
40  Written{tx: Tx}
41  WriteRejected{tx: Tx,incoming: C,error: W.WorldError}
42  WriteFailure{tx: Tx,error: W.WorldError}

Uses (1)

Used by (0)

No other definition uses this definition.