def events_replace
import bendvy-ecs-core@0.1.0.3/world.bend as Worldimport Base
376# Event runtime retention replaces only its owned event domain.
377# Administrative replacement of the Data event domain only. It does not execute
378# pending work, rebuild registrations or reset external event reader owners.
379def events_replace(~S: Data,~C: Type,~R: Type,~E: Data,world: World<S,C,R,E>,+retained: List<&2,E>) -> World<S,C,R,E>:
380 match world:
381 case World{+namespace,allocator,store,resource,_,pending,+registrations,+nextSystemId,+clock,lifecycle}: World{namespace,allocator,store,resource,retained,pending,registrations,nextSystemId,clock,lifecycle}
Uses (2)
Used by (0)
No other definition uses this definition.