ordinary_app_event_family_runtime.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.5/ordinary_app_event_family_runtime.bend as Ordinary_app_event_family_runtime
11 imports
import Base import ./ordinary_event_family.bend as Family import ./event_family_runtime.bend as FamilyRuntime import ./world.bend as W import ./ordinary_schema.bend as Schema import ./ordinary_app_schema.bend as SchemaApp import ./ordinary_app_composer.bend as Build import ./ordinary_app_recipe.bend as Tree import ./ordinary_app_registration_fields.bend as Records import ./ordinary_app_observation_data.bend as DTO import ./event_family_routing.bend as Route
Types
type Application source · line 17 · raw
@S:Data -> @C:Type -> @R:Type -> @P:Data -> @F:Type -> @Owners:Type -> @Rows:Data -> @-observe:(@_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P> -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_registration_fields.Fields<S>>)) -> Type
Family is retained opaquely, including actual streams, journal and reader owners. Debug round-trips the sole World without synchronization, trim, frame or dispatch. Ordinary schema App with one actual family runtime, World and registration owners. F may contain affine streams/reader state; this wrapper does not clone that state or expose it through detached observation rows.
Application@S:Data -> @C:Type -> @R:Type -> @P:Data -> @F:Type -> @Owners:Type -> @Rows:Data -> @-observe:(@_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P> -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_registration_fields.Fields<S>>)) -> @schema:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_schema.Schema<S, C, R> -> @runtime:0x2a0aaf4f2cb3f416a9b91fd887916a5d/event_family_routing.Runtime<S, C, R, P, F> -> @owners:Owners -> @recipe:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_recipe.Recipe<0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P>, Rows, observe> -> @debug:Bool -> Application<S, C, R, P, F, Owners, Rows, observe, fold>
Templates
template attached source · line 21 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-F:Type -> @-Owners:Type -> @-Rows:Data -> @-observe:(@_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P> -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_registration_fields.Fields<S>>)) -> @family:F -> @tick:Nat -> @value:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_schema.Application<S, C, R, P, Owners, Rows, observe, fold> -> Application<S, C, R, P, F, Owners, Rows, observe, fold>
Advanced attachment of an existing runtime family and tick to a schema App. Retains World/owners/recipe/debug without synchronization or frame advancement.
template returned source · line 24 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-F:Type -> @-Owners:Type -> @-Rows:Data -> @-observe:(@_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P> -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_registration_fields.Fields<S>>)) -> @-Out:Type -> @family:F -> @tick:Nat -> @result:Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_schema.Application<S, C, R, P, Owners, Rows, observe, fold>, Out) -> Pair(Application<S, C, R, P, F, Owners, Rows, observe, fold>, Out)
template with_previous source · line 30 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-F:Type -> @-Owners:Type -> @-Rows:Data -> @-observe:(@_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P> -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_registration_fields.Fields<S>>)) -> @-Out:Type -> @action:(@_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_schema.Application<S, C, R, P, Owners, Rows, observe, fold> -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_schema.Application<S, C, R, P, Owners, Rows, observe, fold>, Out)) -> @value:Application<S, C, R, P, F, Owners, Rows, observe, fold> -> Pair(Application<S, C, R, P, F, Owners, Rows, observe, fold>, Out)
Advanced adapter temporarily exposing the schema App to an owner-returning action while retaining family state and tick. It does not automatically sync publications or repair arbitrary action effects; action is trusted integration.
template snapshot source · line 36 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-F:Type -> @-Owners:Type -> @-Rows:Data -> @-observe:(@_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P> -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_registration_fields.Fields<S>>)) -> @value:Application<S, C, R, P, F, Owners, Rows, observe, fold> -> Pair(Application<S, C, R, P, F, Owners, Rows, observe, fold>, Maybe<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_schema.Description<S, Rows>>)
Return the App with its ordinary schema description, preserving family and tick. Disabled observation bypasses fold/observe in SchemaApp.snapshot. No reader acknowledgement, trim, synchronization, dispatch or structural barrier is added.
template start source · line 41 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-Domains:Data -> @-Leaves:Type -> @-EventOwners:Type -> @-make:(@_:Domains -> @_:Nat -> Leaves) -> @-sync:(@_:Leaves -> @_:Nat -> @_:List<&2, P> -> Leaves) -> @-frame:(@_:Leaves -> @_:Nat -> Leaves) -> @-retain:(@_:Leaves -> @_:Nat -> @_:List<&2, P> -> Pair(Leaves, List<&2, P>)) -> @-inventory:(@_:Leaves -> Pair(Leaves, List<&2, String>)) -> @-Owners:Type -> @-Rows:Data -> @-observe:(@_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P> -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_registration_fields.Fields<S>>)) -> @provision:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_event_family.Provision<S, P, Domains, Leaves, make, sync, frame, retain, inventory> -> @events:EventOwners -> @capacity:Nat -> @value:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_schema.Application<S, C, R, P, Owners, Rows, observe, fold> -> Application<S, C, R, P, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/event_family_runtime.State<P, Leaves, EventOwners>, Owners, Rows, observe, fold>
Initialize the supplied canonical family provision with capacity and actual event owners, retaining the schema App World/registrations/observer/debug. This starts family storage/journal state; it does not register or execute gameplay readers.
template enabled source · line 45 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-F:Type -> @-Owners:Type -> @-Rows:Data -> @-observe:(@_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P> -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_registration_fields.Fields<S>>)) -> @value:Application<S, C, R, P, F, Owners, Rows, observe, fold> -> @flag:Bool -> Application<S, C, R, P, F, Owners, Rows, observe, fold>
Set only App observation enablement, retaining runtime and all actual owners.
template inventory_returned source · line 48 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-Leaves:Type -> @-EventOwners:Type -> @-inventory:(@_:Leaves -> Pair(Leaves, List<&2, String>)) -> @-Owners:Type -> @-Rows:Data -> @-observe:(@_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P> -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_registration_fields.Fields<S>>)) -> @schema:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_schema.Schema<S, C, R> -> @owners:Owners -> @recipe:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_recipe.Recipe<0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P>, Rows, observe> -> @debug:Bool -> @result:Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/event_family_routing.Runtime<S, C, R, P, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/event_family_runtime.State<P, Leaves, EventOwners>>, Maybe<&2, List<&2, String>>) -> Pair(Application<S, C, R, P, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/event_family_runtime.State<P, Leaves, EventOwners>, Owners, Rows, observe, fold>, Maybe<&2, List<&2, String>>)
template inventory source · line 54 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-P:Data -> @-Leaves:Type -> @-EventOwners:Type -> @-inventory:(@_:Leaves -> Pair(Leaves, List<&2, String>)) -> @-Owners:Type -> @-Rows:Data -> @-observe:(@_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P> -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, P>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_observation_data.Observation<Rows>)) -> @-fold:(@_:Owners -> Pair(Owners, List<&2, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_registration_fields.Fields<S>>)) -> @value:Application<S, C, R, P, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/event_family_runtime.State<P, Leaves, EventOwners>, Owners, Rows, observe, fold> -> Pair(Application<S, C, R, P, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/event_family_runtime.State<P, Leaves, EventOwners>, Owners, Rows, observe, fold>, Maybe<&2, List<&2, String>>)
Return App and optional family inventory through its generated inventory adapter. Disabled returns None before deriving inventory; enabled returns detached names while threading actual runtime state. This is not payload reading or retention.