owned_event_family_maintenance.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.1/owned_event_family_maintenance.bend as Owned_event_family_maintenance
8 imports
import Base import ./world.bend as W import ./world_resource_owner.bend as WR import ./owner_product.bend as Product import ./event_runtime.bend as Ev import ./event_family_runtime.bend as FR import ./event_family_routing.bend as Route import ./owned_event_family_catalog.bend as Catalog
Templates
template resource_returned source · line 11 · raw
@-S:Data -> @-C:Type -> @-User:Type -> @-Logs:Type -> @-E:Data -> @-Receipt:Type -> @rest:0xf435da9e535b3846d643dad16580e35f/world_resource_owner.Rest<S, C, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<User, Logs>, E> -> @user:User -> @result:Pair(Logs, Receipt) -> Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, C, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<User, Logs>, E>, Receipt)
The complete typed catalog is derived by leaf/both, not a list of user cleanup callbacks. All payload owners are returned before shared publication state clears.
template resource_taken source · line 14 · raw
@-S:Data -> @-C:Type -> @-User:Type -> @-Logs:Type -> @-E:Data -> @-Receipt:Type -> @-retain:(@_:Logs -> @_:List<&2, E> -> Pair(Logs, Receipt)) -> @-drain:(@_:Logs -> Pair(Logs, Receipt)) -> @shutdown:Bool -> @records:List<&2, E> -> @result:Pair(0xf435da9e535b3846d643dad16580e35f/world_resource_owner.Rest<S, C, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<User, Logs>, E>, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<User, Logs>) -> Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, C, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<User, Logs>, E>, Receipt)
template completed source · line 18 · raw
@-S:Data -> @-C:Type -> @-User:Type -> @-Logs:Type -> @-E:Data -> @-F:Type -> @-Owners:Type -> @-Receipt:Type -> @-clear:(@_:F -> F) -> @shutdown:Bool -> @family:F -> @owners:Owners -> @journal:List<&2, 0xf435da9e535b3846d643dad16580e35f/event_runtime.Batch<E>> -> @frameStart:Nat -> @tick:Nat -> @result:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, C, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<User, Logs>, E>, Receipt) -> Pair(0xf435da9e535b3846d643dad16580e35f/event_family_routing.Runtime<S, C, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<User, Logs>, E, 0xf435da9e535b3846d643dad16580e35f/event_family_runtime.State<E, F, Owners>>, Receipt)
template observed source · line 22 · raw
@-S:Data -> @-C:Type -> @-User:Type -> @-Logs:Type -> @-E:Data -> @-F:Type -> @-Owners:Type -> @-Receipt:Type -> @-retain:(@_:Logs -> @_:List<&2, E> -> Pair(Logs, Receipt)) -> @-drain:(@_:Logs -> Pair(Logs, Receipt)) -> @-clear:(@_:F -> F) -> @+shutdown:Bool -> @family:F -> @owners:Owners -> @journal:List<&2, 0xf435da9e535b3846d643dad16580e35f/event_runtime.Batch<E>> -> @frameStart:Nat -> @tick:Nat -> @result:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, C, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<User, Logs>, E>, List<&2, E>) -> Pair(0xf435da9e535b3846d643dad16580e35f/event_family_routing.Runtime<S, C, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<User, Logs>, E, 0xf435da9e535b3846d643dad16580e35f/event_family_runtime.State<E, F, Owners>>, Receipt)
template collect source · line 25 · raw
@-S:Data -> @-C:Type -> @-User:Type -> @-Logs:Type -> @-E:Data -> @-F:Type -> @-Owners:Type -> @-Receipt:Type -> @-retain:(@_:Logs -> @_:List<&2, E> -> Pair(Logs, Receipt)) -> @-drain:(@_:Logs -> Pair(Logs, Receipt)) -> @-clear:(@_:F -> F) -> @shutdown:Bool -> @runtime:0xf435da9e535b3846d643dad16580e35f/event_family_routing.Runtime<S, C, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<User, Logs>, E, 0xf435da9e535b3846d643dad16580e35f/event_family_runtime.State<E, F, Owners>> -> Pair(0xf435da9e535b3846d643dad16580e35f/event_family_routing.Runtime<S, C, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<User, Logs>, E, 0xf435da9e535b3846d643dad16580e35f/event_family_runtime.State<E, F, Owners>>, Receipt)
template frame source · line 28 · raw
@-S:Data -> @-C:Type -> @-User:Type -> @-Logs:Type -> @-E:Data -> @-F:Type -> @-Owners:Type -> @-Receipt:Type -> @-retain:(@_:Logs -> @_:List<&2, E> -> Pair(Logs, Receipt)) -> @-drain:(@_:Logs -> Pair(Logs, Receipt)) -> @-clear:(@_:F -> F) -> @-catalog:0xf435da9e535b3846d643dad16580e35f/owned_event_family_catalog.Catalog<E, Logs, F, Receipt, retain, drain, clear> -> @-frame:(@_:F -> @_:Nat -> F) -> @-retainRecords:(@_:F -> @_:Nat -> @_:List<&2, E> -> Pair(F, List<&2, E>)) -> @runtime:0xf435da9e535b3846d643dad16580e35f/event_family_routing.Runtime<S, C, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<User, Logs>, E, 0xf435da9e535b3846d643dad16580e35f/event_family_runtime.State<E, F, Owners>> -> Pair(0xf435da9e535b3846d643dad16580e35f/event_family_routing.Runtime<S, C, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<User, Logs>, E, 0xf435da9e535b3846d643dad16580e35f/event_family_runtime.State<E, F, Owners>>, Receipt)
template shutdown source · line 30 · raw
@-S:Data -> @-C:Type -> @-User:Type -> @-Logs:Type -> @-E:Data -> @-F:Type -> @-Owners:Type -> @-Receipt:Type -> @-retain:(@_:Logs -> @_:List<&2, E> -> Pair(Logs, Receipt)) -> @-drain:(@_:Logs -> Pair(Logs, Receipt)) -> @-clear:(@_:F -> F) -> @-catalog:0xf435da9e535b3846d643dad16580e35f/owned_event_family_catalog.Catalog<E, Logs, F, Receipt, retain, drain, clear> -> @runtime:0xf435da9e535b3846d643dad16580e35f/event_family_routing.Runtime<S, C, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<User, Logs>, E, 0xf435da9e535b3846d643dad16580e35f/event_family_runtime.State<E, F, Owners>> -> Pair(0xf435da9e535b3846d643dad16580e35f/event_family_routing.Runtime<S, C, 0xf435da9e535b3846d643dad16580e35f/owner_product.Owner<User, Logs>, E, 0xf435da9e535b3846d643dad16580e35f/event_family_runtime.State<E, F, Owners>>, Receipt)