execution_lifetime_scope_cleanup.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_cleanup.bend as Execution_lifetime_scope_cleanup
20 imports
import Base import ./world.bend as W import ./entity_key.bend as Key import ./entity_allocator.bend as Allocator import ./execution_relation_world_publication.bend as WorldFrame import ./relation_types.bend as T import ./relation_graph.bend as Graph import ./relation_cleanup_control.bend as Control import ./relation_cleanup_engine.bend as Engine import ./execution_composer_layout.bend as Layout import ./execution_command_buffer.bend as Buffer import ./execution_command_permission.bend as Permission import ./execution_relation_buffer.bend as Relation import ./execution_relation_operation.bend as Operation import ./execution_relation_context.bend as Context import ./execution_relation_resource_snapshot.bend as Snapshot import ./execution_lifetime_scope_world_access.bend as Access import ./execution_lifetime_scope_store.bend as Store import ./execution_lifetime_scope_resource_dispatch.bend as Dispatch import ./change_tick.bend as Tick
Types
type AfterDespawn source · line 24 · raw
Data
Bevy ad678262ce53b5d142fe49ee5e08caff6f00ab60 hierarchy.rs:50 deletes linked descendants. This adapter also returns each actual affine owner.
KeepMembershipAfterDespawn
ForgetMembership@routes:List<&2, 0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route> -> AfterDespawn
type State source · line 27 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-D:Type -> Type
State@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-D:Type -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E> -> @receipts:List<&1, 0x704c77730661eff4309838fc738ef615/execution_command_buffer.Receipt<S, P, D>> -> @after:AfterDespawn -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @blocked:Bool -> State<S, C, R, E, P, D>
Definitions
def live_returned source · line 31 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @same:Bool -> @resource:R -> @frame:0x704c77730661eff4309838fc738ef615/execution_relation_world_publication.Frame<S, C, R, E> -> @result:Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Bool) -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, Bool)
def live source · line 34 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E> -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, Bool)
def find source · line 37 · raw
@-S:Data -> @+descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @views:List<&2, 0x704c77730661eff4309838fc738ef615/execution_relation_resource_snapshot.GraphView<S>> -> Maybe<&2, 0x704c77730661eff4309838fc738ef615/execution_relation_resource_snapshot.GraphView<S>>
def children_selected source · line 41 · raw
@-S:Data -> @key:0x704c77730661eff4309838fc738ef615/entity_key.Key -> @found:Maybe<&2, 0x704c77730661eff4309838fc738ef615/execution_relation_resource_snapshot.GraphView<S>> -> List<&2, 0x704c77730661eff4309838fc738ef615/entity_key.Key>
def children source · line 45 · raw
@-S:Data -> @descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @key:0x704c77730661eff4309838fc738ef615/entity_key.Key -> @views:List<&2, 0x704c77730661eff4309838fc738ef615/execution_relation_resource_snapshot.GraphView<S>> -> List<&2, 0x704c77730661eff4309838fc738ef615/entity_key.Key>
def descriptors source · line 47 · raw
@-S:Data -> @views:List<&2, 0x704c77730661eff4309838fc738ef615/execution_relation_resource_snapshot.GraphView<S>> -> List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S>>
def edges source · line 51 · raw
@-S:Data -> @views:List<&2, 0x704c77730661eff4309838fc738ef615/execution_relation_resource_snapshot.GraphView<S>> -> List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.Edge<S>>
def checked source · line 55 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-D:Type -> @receipts:List<&1, 0x704c77730661eff4309838fc738ef615/execution_command_buffer.Receipt<S, P, D>> -> @after:AfterDespawn -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @key:0x704c77730661eff4309838fc738ef615/entity_key.Key -> @descriptors:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S>> -> @frames:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>> -> @result:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, Bool) -> Pair(State<S, C, R, E, P, D>, List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>>)
def observed source · line 59 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-D:Type -> @receipts:List<&1, 0x704c77730661eff4309838fc738ef615/execution_command_buffer.Receipt<S, P, D>> -> @after:AfterDespawn -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @+key:0x704c77730661eff4309838fc738ef615/entity_key.Key -> @+descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @remaining:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S>> -> @frames:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>> -> @result:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, List<&2, 0x704c77730661eff4309838fc738ef615/execution_relation_resource_snapshot.GraphView<S>>) -> Pair(State<S, C, R, E, P, D>, List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>>)
def recorded source · line 62 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-D:Type -> @receipts:List<&1, 0x704c77730661eff4309838fc738ef615/execution_command_buffer.Receipt<S, P, D>> -> @after:AfterDespawn -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @frames:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>> -> @result:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, 0x704c77730661eff4309838fc738ef615/execution_command_buffer.Receipt<S, P, D>) -> Pair(State<S, C, R, E, P, D>, List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>>)
def forgotten source · line 65 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-D:Type -> @route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @receipts:List<&1, 0x704c77730661eff4309838fc738ef615/execution_command_buffer.Receipt<S, P, D>> -> @next:(@_:0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E> -> @_:List<&1, 0x704c77730661eff4309838fc738ef615/execution_command_buffer.Receipt<S, P, D>> -> Pair(State<S, C, R, E, P, D>, List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>>)) -> @result:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_resource_dispatch.Outcome<S>) -> Pair(State<S, C, R, E, P, D>, List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>>)
Templates
template Dispose source · line 29 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-D:Type -> Type
template forget_routes source · line 68 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-D:Type -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-same:{R == 0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources) : Type} -> @-selection:0x704c77730661eff4309838fc738ef615/execution_command_permission.Selection<S, resources> -> @+namespace:U32 -> @+after:AfterDespawn -> @+tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @+handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @+frames:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>> -> @routes:List<&2, 0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route> -> @receipts:List<&1, 0x704c77730661eff4309838fc738ef615/execution_command_buffer.Receipt<S, P, D>> -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E> -> Pair(State<S, C, R, E, P, D>, List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>>)
template post_dispose source · line 72 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-D:Type -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-same:{R == 0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources) : Type} -> @-selection:0x704c77730661eff4309838fc738ef615/execution_command_permission.Selection<S, resources> -> @namespace:U32 -> @receipts:List<&1, 0x704c77730661eff4309838fc738ef615/execution_command_buffer.Receipt<S, P, D>> -> @after:AfterDespawn -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @frames:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>> -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E> -> Pair(State<S, C, R, E, P, D>, List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>>)
template disposed source · line 76 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-D:Type -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-same:{R == 0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources) : Type} -> @-selection:0x704c77730661eff4309838fc738ef615/execution_command_permission.Selection<S, resources> -> @namespace:U32 -> @receipts:List<&1, 0x704c77730661eff4309838fc738ef615/execution_command_buffer.Receipt<S, P, D>> -> @after:AfterDespawn -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @frames:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>> -> @result:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, 0x704c77730661eff4309838fc738ef615/execution_command_buffer.Receipt<S, P, D>) -> Pair(State<S, C, R, E, P, D>, List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>>)
template unlink_selected source · line 80 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-D:Type -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-same:{R == 0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources) : Type} -> @-selection:0x704c77730661eff4309838fc738ef615/execution_command_permission.Selection<S, resources> -> @+namespace:U32 -> @receipts:List<&1, 0x704c77730661eff4309838fc738ef615/execution_command_buffer.Receipt<S, P, D>> -> @after:AfterDespawn -> @+tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @key:0x704c77730661eff4309838fc738ef615/entity_key.Key -> @original:0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S> -> @frames:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>> -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E> -> @found:Maybe<&2, 0x704c77730661eff4309838fc738ef615/execution_relation_resource_snapshot.GraphView<S>> -> Pair(State<S, C, R, E, P, D>, List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>>)
template unlinked source · line 84 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-D:Type -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-same:{R == 0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources) : Type} -> @-selection:0x704c77730661eff4309838fc738ef615/execution_command_permission.Selection<S, resources> -> @namespace:U32 -> @receipts:List<&1, 0x704c77730661eff4309838fc738ef615/execution_command_buffer.Receipt<S, P, D>> -> @after:AfterDespawn -> @+tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @key:0x704c77730661eff4309838fc738ef615/entity_key.Key -> @descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @original:0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S> -> @frames:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>> -> @result:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, List<&2, 0x704c77730661eff4309838fc738ef615/execution_relation_resource_snapshot.GraphView<S>>) -> Pair(State<S, C, R, E, P, D>, List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>>)
template interpreted source · line 87 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-D:Type -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-same:{R == 0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources) : Type} -> @-selection:0x704c77730661eff4309838fc738ef615/execution_command_permission.Selection<S, resources> -> @-dispose:Dispose(S, C, R, E, P, D) -> @intent:0x704c77730661eff4309838fc738ef615/relation_cleanup_control.Intent<S> -> @original:0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S> -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E> -> @receipts:List<&1, 0x704c77730661eff4309838fc738ef615/execution_command_buffer.Receipt<S, P, D>> -> @after:AfterDespawn -> @+tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @+namespace:U32 -> Pair(State<S, C, R, E, P, D>, List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>>)
template step source · line 98 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-D:Type -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-same:{R == 0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources) : Type} -> @-selection:0x704c77730661eff4309838fc738ef615/execution_command_permission.Selection<S, resources> -> @-dispose:Dispose(S, C, R, E, P, D) -> @frame:0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S> -> @state:State<S, C, R, E, P, D> -> @+namespace:U32 -> @descriptors:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S>> -> @frames:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>> -> Pair(State<S, C, R, E, P, D>, List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>>)
template member_frames source · line 100 · raw
@-S:Data -> @members:List<&2, 0x704c77730661eff4309838fc738ef615/entity_key.Key> -> List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.CleanupFrame<S>>
template continued source · line 104 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-D:Type -> @members:List<&2, 0x704c77730661eff4309838fc738ef615/entity_key.Key> -> @result:0x704c77730661eff4309838fc738ef615/relation_cleanup_engine.Progress<S, State<S, C, R, E, P, D>> -> @next:(@_:State<S, C, R, E, P, D> -> 0x704c77730661eff4309838fc738ef615/relation_cleanup_engine.Progress<S, State<S, C, R, E, P, D>>) -> 0x704c77730661eff4309838fc738ef615/relation_cleanup_engine.Progress<S, State<S, C, R, E, P, D>>
template members_step source · line 108 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-D:Type -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-same:{R == 0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources) : Type} -> @-selection:0x704c77730661eff4309838fc738ef615/execution_command_permission.Selection<S, resources> -> @-dispose:Dispose(S, C, R, E, P, D) -> @+nodes:Nat -> @+originalEdges:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.Edge<S>> -> @+namespace:U32 -> @+descriptors:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S>> -> @members:List<&2, 0x704c77730661eff4309838fc738ef615/entity_key.Key> -> @state:State<S, C, R, E, P, D> -> 0x704c77730661eff4309838fc738ef615/relation_cleanup_engine.Progress<S, State<S, C, R, E, P, D>>