def set

bendvy-ecs-core@0.1.0.3 · indexed_lifecycle.bend:42

import bendvy-ecs-core@0.1.0.3/indexed_lifecycle.bend as IndexedLifecycle
import Base
import lifecycle.bend as L

42def set(metadata:Metadata,+id:U32,stamp:L.Stamp) -> Metadata:
43  match metadata:
44    case Metadata{added,changed,capacity,depth,exceptional}: set_checked(id,stamp,added,changed,capacity,depth,exceptional,normal(id))

Uses (5)

Used by (4)