{"id":"frontend.yui--yuiHostSurfaceRetainedDecisionV1","name":"yuiHostSurfaceRetainedDecisionV1","owner":"yeho","package":"frontend.yui","kind":"thing","signature":"external thing yuiHostSurfaceRetainedDecisionV1","description":"A yui host surface retained decision v1 record carrying code, diagnostic, nativeIdle, execute, initializeFullSurface.","context":"Turn YUI models into a working frontend and its rendering/input adapters.","parameters":[],"returns":"void","members":[{"name":"code","kind":"field","type":"text","description":"Stores code as text.","signature":"text code","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"diagnostic","kind":"field","type":"text","description":"Stores diagnostic as text.","signature":"text diagnostic","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"nativeIdle","kind":"field","type":"bool","description":"Stores native idle as bool.","signature":"bool nativeIdle","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"execute","kind":"field","type":"bool","description":"Stores execute as bool.","signature":"bool execute","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"initializeFullSurface","kind":"field","type":"bool","description":"Stores initialize full surface as bool.","signature":"bool initializeFullSurface","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"yuiHostSurfaceRetainedDecisionV1","kind":"constructor","parameters":[{"name":"code","type":"text","description":"Code."},{"name":"diagnostic","type":"text","description":"Diagnostic."}],"returns":"void","signature":"yuiHostSurfaceRetainedDecisionV1(text code, text diagnostic)","description":"Yui host surface retained decision v1.","tags":["thing","constructor","frontend.yui"],"updated":"2026-09-09"}],"tags":["cpu","frontend","frontend.yui","source-example","thing","yeho","yui"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/frontend/yui/host-surface-surface.yh","line":97,"sha256":"1ffac9ba53a93336086a9bedb66f35036dfa88134bea6ab6c5082c98d7b6f6bc"},"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 yuiHostSurfaceRetainedDecisionV1","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.\nyuiHostSurfaceRetainedDecisionV1 sample = yuiHostSurfaceRetainedDecisionV1(\"code\", \"diagnostic\")\nConsole.Log(Text.From(sample.code))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuihostsurfaceretaineddecisionv1\"\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":"ae634691d6f148f4855c32d9c4e966105b502f70e8662c1920883b695da642ef","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["code","diagnostic","nativeIdle","execute","initializeFullSurface","yuiHostSurfaceRetainedDecisionV1"],"url":"https://demonhunterlabs.com/academy/api?item=frontend.yui--yuiHostSurfaceRetainedDecisionV1","json":"https://demonhunterlabs.com/reference/items/frontend.yui--yuiHostSurfaceRetainedDecisionV1.json","markdown":"https://demonhunterlabs.com/reference/text/frontend.yui--yuiHostSurfaceRetainedDecisionV1.md"}
