def attach_cleanup
import bendvy-ecs-core@0.1.0.3/execution_command_permission.bend as ExecutionCommandPermissionimport Base
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout
51def attach_cleanup(-S:Data,-resources:Layout.Layout,gameplay:Selection<S,resources>,cleanup:CleanupSelection<S,resources>) -> Selection<S,resources>:
52 match gameplay:
53 case Selection{program,snapshot,scopes,_}:Selection{program,snapshot,scopes,cleanup}
Uses (3)
Used by (0)
No other definition uses this definition.