def progress
import bendvy-ecs-core@0.1.0.4/restore_raw.bend as RestoreRawimport Base
import bendvy-ecs-core@0.1.0.4/decode_data.bend as D
import bendvy-ecs-core@0.1.0.4/snapshot_data.bend as Snapshot
81def progress(+fields:List<&2,D.Field>,result:Decoded<U32>) -> Decoded<Snapshot.Snapshot>:
82 match result:
83 case Value{next}:entity_array(next,fields,D.field("entities",fields))
84 case Failed{error}:Failed{error}