{"id":"frontend.yui--SeedYuiAuthoredRetainedScheduler","name":"SeedYuiAuthoredRetainedScheduler","owner":"yeho","package":"frontend.yui","kind":"function","signature":"external SeedYuiAuthoredRetainedScheduler(yuiAuthoredRuntime original runtime, yuiAuthoredApplicationLayoutPlan original plan, yuiDisplayList original display, text reason) returns yuiAuthoredRetainedScheduler","description":"Full authored lowering is admitted once at startup and after an explicit resize/layout reseed. The leading clear becomes the persistent frame's background clear; every remaining command is partitioned into stable shell or authored-node fragments without changing its clip/resource identity.","context":"Turn YUI models into a working frontend and its rendering/input adapters.","parameters":[{"name":"runtime","type":"yuiAuthoredRuntime original","description":"Supply runtime as yuiAuthoredRuntime original."},{"name":"plan","type":"yuiAuthoredApplicationLayoutPlan original","description":"Supply plan as yuiAuthoredApplicationLayoutPlan original."},{"name":"display","type":"yuiDisplayList original","description":"Supply display as yuiDisplayList original."},{"name":"reason","type":"text","description":"Supply reason as text."}],"returns":"yuiAuthoredRetainedScheduler","members":[],"tags":["cpu","frontend","frontend.yui","function","source-example","yeho","yui"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/frontend/yui/authoring-20-retained-scheduler.yh","line":987,"sha256":"a01e40d3d78de6cd08161e091c55d6d951989a87ad25aa9a2f608f957fcfa8cd"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use SeedYuiAuthoredRetainedScheduler","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using frontend.yui\n\n// Turn YUI models into a working frontend and its rendering/input adapters.\nyuiAuthoredRuntime runtime = yuiAuthoredRuntime(\"id\")\nyuiAuthoredApplicationLayoutPlan plan = yuiAuthoredApplicationLayoutPlan(1, 1, 1, 1, true, 1, 1, 1, 1, 1, 1, yuiLayoutRect(1, 1, 1, 1), \"root Id\", [], [], [], \"diagnostic\")\nyuiDisplayList display = yuiDisplayList(\"surface Id\")\ntext reason = \"reason\"\nyuiAuthoredRetainedScheduler result = SeedYuiAuthoredRetainedScheduler(runtime, plan, display, reason)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__seedyuiauthoredretainedscheduler\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"a3e1e21f3fb4d54a536011324dfdfdf340caa5e597ffa56ebc4c4dd9970a9d06","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=frontend.yui--SeedYuiAuthoredRetainedScheduler","json":"https://demonhunterlabs.com/reference/items/frontend.yui--SeedYuiAuthoredRetainedScheduler.json","markdown":"https://demonhunterlabs.com/reference/text/frontend.yui--SeedYuiAuthoredRetainedScheduler.md"}
