def disposed
bendvy-ecs-core@0.1.0.4 · system_instance.bend:17
import bendvy-ecs-core@0.1.0.4/system_instance.bend as SystemInstance
import Base
import world.bend as W
import system.bend as Sys
import system_cleanup.bend as Cleanup
17def disposed(~S: Data,~C: Type,~R: Type,~E: Data,~Args: Type,~Error: Data,~Output: Type,~run: W.World<S,C,R,E> -> Args -> Sys.Outcome<W.World<S,C,R,E>,Error,Output>,~Ports: Type,~validate: Ports -> U32 -> U32 -> Ports & Bool,~remove: W.World<S,C,R,E> -> Ports -> W.World<S,C,R,E>,result: Cleanup.Cleanup<S,C,R,E,Args,Error,Output,run,Ports>) -> Disposal<S,C,R,E,Args,Error,Output,run,Ports,validate,remove>:
18 match result:
19 case Cleanup.Cleaned{world}: Disposed{world}
20 case Cleanup.CleanupRejected{world,instance}: Rejected{world,Instance{instance}}