def create

bendvy-ecs-core@0.1.0.4 · ordinary_app_dump.bend:40

import bendvy-ecs-core@0.1.0.4/ordinary_app_dump.bend as OrdinaryAppDump
import Base
import bendvy-ecs-core@0.1.0.4/world.bend as W
import bendvy-ecs-core@0.1.0.4/ordinary_schema.bend as Schema
import bendvy-ecs-core@0.1.0.4/ordinary_app_schema.bend as SchemaApp

40# Delegate World creation through the retained schema and factory, returning
41# the schema with the actual Creation result. Refusal retains its owned creation
42# inputs under SchemaApp.create; this does not attach a registered dump App.
43def create(~S:Data,~C:Type,~R:Type,~E:Data,~empty:Unit -> C,schema:Schema.Schema<S,C,R>,factory:W.Factory,resource:R) -> Schema.Schema<S,C,R> & W.Creation<S,C,R,E>:
44  SchemaApp.create(~S,~C,~R,~E,~empty,schema,factory,resource)

Uses (6)

Used by (0)

No other definition uses this definition.