def build

bendvy-ecs-core@0.1.0.4 · schedule_provision.bend:77

import bendvy-ecs-core@0.1.0.4/schedule_provision.bend as ScheduleProvision
import Base
import bendvy-ecs-core@0.1.0.4/schedule.bend as Sch

77# Flatten the authored plan and validate system ids against the trusted catalog,
78# rejecting duplicates/unknown systems with owners returned. Retain first-occurrence
79# requirement order; namespace/catalog provenance and condition slots are setup.
80def build(~S: Data,~C: Type,~R: Type,~E: Data,~H: Type,+namespace: U32,+name: String,+plan: Plan<S>,catalog: List<&2,U32>,owners: H) -> Build<S,C,R,E,H>:
81  finish_build(~S,~C,~R,~E,~H,Sch.build(~S,~C,~R,~E,~H,namespace,name,flatten(~S,plan),catalog,owners),unique(~S,requirements(~S,plan)))

Uses (10)

Used by (3)