def run_recipe
import bendvy-ecs-core@0.1.0.4/feature.bend as Featureimport Base
167# Validate the selected tree before executing its trusted owned builder.
168# Refusal returns context and original recipe; success returns context plus
169# built extras/plans. Authored order is preserved; no automatic rollback of
170# arbitrary callback effects or host IO is provided.
171def run_recipe(~S:Data,~Ctx:Type,~Owners:Type,~Extra:Type,ctx:Ctx,recipe:Recipe<S,Ctx,Owners,Extra>) -> RecipeResult<S,Ctx,Owners,Extra>:
172 match recipe:
173 case Recipe{+tree,owners,build}: recipe_checked(~S,~Ctx,~Owners,~Extra,validate(~S,tree),ctx,Recipe{tree,owners,build})
Uses (4)
Used by (0)
No other definition uses this definition.