def basic_ready
bendvy-ecs-core@0.1.0.3 · snapshot_data.bend:59
import bendvy-ecs-core@0.1.0.3/snapshot_data.bend as SnapshotData
import Base
import bendvy-ecs-core@0.1.0.3/world.bend as W
import bendvy-ecs-core@0.1.0.3/decode_data.bend as D
59def basic_ready(~S:Data,~C:Type,~R:Type,~E:Data,~rows:List<&2,W.Handle<S>> -> C -> C & List<&2,Entity>,~resources:R -> R & List<&2,D.Field>,result:W.World<S,C,R,E> & Bool) -> W.World<S,C,R,E> & Outcome<Snapshot>:
60 match result:
61 case (world,False{}):(world,RefusedPending{})
62 case (world,True{}):saved(~S,~C,~R,~E,with_allocator(~S,~C,~R,~E,~rows,~resources,allocator(~S,~C,~R,~E,world)))