type Intent

bendvy-ecs-core@0.1.0.3 · relation_cleanup_control.bend:5

import bendvy-ecs-core@0.1.0.3/relation_cleanup_control.bend as RelationCleanupControl
import Base
import bendvy-ecs-core@0.1.0.3/relation_types.bend as T
import bendvy-ecs-core@0.1.0.3/entity_key.bend as Key

5# Both storage adapters execute this same cleanup continuation. Intents carry
6# identities and descriptors only; they contain no World mutator or owner.
7type Intent<-S:Data> is Data:
8  Check{key:Key.Key,descriptors:List<&2,T.Descriptor<S>>,frames:List<&2,T.CleanupFrame<S>>}
9  Observe{key:Key.Key,descriptor:T.Descriptor<S>,remaining:List<&2,T.Descriptor<S>>,frames:List<&2,T.CleanupFrame<S>>}
10  Unrelate{key:Key.Key,descriptor:T.Descriptor<S>,frames:List<&2,T.CleanupFrame<S>>}
11  Finish{key:Key.Key,frames:List<&2,T.CleanupFrame<S>>}
12  Continue{frames:List<&2,T.CleanupFrame<S>>}

Uses (4)

Used by (3)