def ensure_returned
bendvy-ecs-core@0.1.0.4 · world.bend:92
import bendvy-ecs-core@0.1.0.4/world.bend as World
import Base
import bendvy-ecs-core@0.1.0.4/clock_state.bend as Clock
import bendvy-ecs-core@0.1.0.4/deferred_command.bend as Deferred
import entity_allocator.bend as A
92def 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) -> World<S,C,R,E> & Bool:
93 (clock,owned)=result
94 (World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock},owned)