def finish

bendvy-ecs-core@0.1.0.4 · snapshot_data.bend:40

import bendvy-ecs-core@0.1.0.4/snapshot_data.bend as SnapshotData
import Base
import bendvy-ecs-core@0.1.0.4/world.bend as W
import bendvy-ecs-core@0.1.0.4/decode_data.bend as D

40# Closed schema providers must return the actual store/resource owners. Their
41# projections, transient omission and name bindings are trusted author inputs.
42# This is NOT the still-missing public constructed-descriptor validation gate.
43def finish(~S:Data,~C:Type,~R:Type,~E:Data,nextEntity:U32,entities:List<&2,Entity>,observed:W.World<S,C,R,E> & List<&2,D.Field>) -> W.World<S,C,R,E> & Snapshot:
44  match observed:
45    case (world,fields):(world,Snapshot{1,nextEntity,entities,fields})

Uses (8)

Used by (1)