~/bend-docscommunity

execution_lifetime_scope_resource_dispatch.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.3/execution_lifetime_scope_resource_dispatch.bend as Execution_lifetime_scope_resource_dispatch

9 imports
import Base
import ./execution_composer_layout.bend as Layout
import ./execution_resource_policy.bend as Policy
import ./execution_lifetime_scope_store.bend as Store
import ./execution_relation_resource_dispatch.bend as Route
import ./execution_relation_resource_publication.bend as Cast
import ./entity_allocator.bend as Allocator
import ./change_tick.bend as Tick
import ./lifecycle.bend as Life

Types

type Outcome source · line 11 · raw

@-S:Data -> Data

Templates

template Program source · line 14 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> Type

template empty source · line 16 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @_:U32 -> @_:U32 -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @owners:0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources) -> @_:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @request:0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Request<S> -> @_:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Pair(0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources), Outcome<S>))

template refreshed source · line 18 · raw

@-S:Data -> @-key:String -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @stamp:0x704c77730661eff4309838fc738ef615/lifecycle.Stamp -> @result:0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Outcome<S> -> @projected:Pair(0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Store<S>, 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.View<S>) -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Pair(0x704c77730661eff4309838fc738ef615/execution_composer_layout.ResourceSlot<S, 0x704c77730661eff4309838fc738ef615/execution_composer_layout.Viewed<0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Store<S>, 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.View<S>>, key, origin>, Outcome<S>))

template changed source · line 21 · raw

@-S:Data -> @-key:String -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @written:Bool -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @stamp:0x704c77730661eff4309838fc738ef615/lifecycle.Stamp -> @cache:0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.View<S> -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @owner:0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Store<S> -> @result:0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Outcome<S> -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Pair(0x704c77730661eff4309838fc738ef615/execution_composer_layout.ResourceSlot<S, 0x704c77730661eff4309838fc738ef615/execution_composer_layout.Viewed<0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Store<S>, 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.View<S>>, key, origin>, Outcome<S>))

template returned source · line 25 · raw

@-S:Data -> @-key:String -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @stamp:0x704c77730661eff4309838fc738ef615/lifecycle.Stamp -> @cache:0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.View<S> -> @result:Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Pair(0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Store<S>, 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Outcome<S>)) -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Pair(0x704c77730661eff4309838fc738ef615/execution_composer_layout.ResourceSlot<S, 0x704c77730661eff4309838fc738ef615/execution_composer_layout.Viewed<0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Store<S>, 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.View<S>>, key, origin>, Outcome<S>))

template slot source · line 33 · raw

@-S:Data -> @-key:String -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @namespace:U32 -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @value:0x704c77730661eff4309838fc738ef615/execution_composer_layout.ResourceSlot<S, 0x704c77730661eff4309838fc738ef615/execution_composer_layout.Viewed<0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Store<S>, 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.View<S>>, key, origin> -> @request:0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Request<S> -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Pair(0x704c77730661eff4309838fc738ef615/execution_composer_layout.ResourceSlot<S, 0x704c77730661eff4309838fc738ef615/execution_composer_layout.Viewed<0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Store<S>, 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.View<S>>, key, origin>, Outcome<S>))

template restored source · line 36 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @-payload:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.payload(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Store<S> : Type} -> @-view:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.view(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.View<S> : Data} -> @rest:0x704c77730661eff4309838fc738ef615/execution_composer_layout.resource_rest(S, resources, route) -> @result:Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Pair(0x704c77730661eff4309838fc738ef615/execution_composer_layout.ResourceSlot<S, 0x704c77730661eff4309838fc738ef615/execution_composer_layout.Viewed<0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Store<S>, 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.View<S>>, 0x704c77730661eff4309838fc738ef615/execution_composer_layout.key(resources, route), 0x704c77730661eff4309838fc738ef615/execution_composer_layout.origin(resources, route)>, Outcome<S>)) -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Pair(0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources), Outcome<S>))

template taken source · line 39 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @-payload:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.payload(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Store<S> : Type} -> @-view:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.view(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.View<S> : Data} -> @namespace:U32 -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @request:0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Request<S> -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @result:Pair(0x704c77730661eff4309838fc738ef615/execution_composer_layout.resource_rest(S, resources, route), 0x704c77730661eff4309838fc738ef615/execution_composer_layout.ResourceSlot<S, 0x704c77730661eff4309838fc738ef615/execution_composer_layout.stored(resources, route), 0x704c77730661eff4309838fc738ef615/execution_composer_layout.key(resources, route), 0x704c77730661eff4309838fc738ef615/execution_composer_layout.origin(resources, route)>) -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Pair(0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources), Outcome<S>))

template namespaced source · line 42 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @-payload:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.payload(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Store<S> : Type} -> @-view:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.view(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.View<S> : Data} -> @same:Bool -> @namespace:U32 -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @owners:0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources) -> @request:0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Request<S> -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Pair(0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources), Outcome<S>))

template selected source · line 46 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @-payload:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.payload(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Store<S> : Type} -> @-view:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.view(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.View<S> : Data} -> @matches:Bool -> @previous:Program(S, resources) -> @+expected:U32 -> @+actual:U32 -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @owners:0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources) -> @requested:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @request:0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Request<S> -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Pair(0x704c77730661eff4309838fc738ef615/execution_composer_layout.resources(S, resources), Outcome<S>))

template extend source · line 50 · raw

@-S:Data -> @-resources:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @-valid:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.grant_valid(resources, route) == True{} : Bool} -> @-payload:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.payload(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.Store<S> : Type} -> @-view:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.view(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_lifetime_scope_store.View<S> : Data} -> @-protected:{0x704c77730661eff4309838fc738ef615/execution_composer_layout.policy(resources, route) == 0x704c77730661eff4309838fc738ef615/execution_resource_policy.ProtectedLifetimeScope{S} : 0x704c77730661eff4309838fc738ef615/execution_resource_policy.Policy} -> @previous:Program(S, resources) -> Program(S, resources)