def ensure_returned
bendvy-ecs-core@0.1.0.3 · world.bend:94
import bendvy-ecs-core@0.1.0.3/world.bend as World
import Base
import bendvy-ecs-core@0.1.0.3/clock_state.bend as Clock
import bendvy-ecs-core@0.1.0.3/execution_lifecycle_notices.bend as Notice
import bendvy-ecs-core@0.1.0.3/deferred_command.bend as Deferred
import entity_allocator.bend as A
94def ensure_returned(~S:Data,~C:Type,~R:Type,~E:Data,namespace:U32,allocator:A.Allocator,store:C,resource:R,events:List<&2,E>,pending:List<Deferred.Command<World<S,C,R,E>>>,registrations:List<&2,RegistrationMeta>,nextSystemId:U32,result:Clock.State & Bool,lifecycle:Notice.Journal<S>) -> World<S,C,R,E> & Bool:
95 (clock,owned)=result
96 (World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock,lifecycle},owned)