{"id":"ui--yuiRetainedDependencyIndex","name":"yuiRetainedDependencyIndex","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiRetainedDependencyIndex","description":"A yui retained dependency index record carrying subscriptions, subscriptionIndex, diagnostic.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"subscriptions","kind":"field","type":"list of yuiRetainedDependencySubscription","description":"Stores subscriptions as list of yuiRetainedDependencySubscription.","signature":"list of yuiRetainedDependencySubscription subscriptions","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"subscriptionIndex","kind":"field","type":"yuiRetainedKeyIndex","description":"Stores subscription index as yuiRetainedKeyIndex.","signature":"yuiRetainedKeyIndex subscriptionIndex","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"diagnostic","kind":"field","type":"text","description":"Stores diagnostic as text.","signature":"text diagnostic","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiRetainedDependencyIndex","kind":"constructor","parameters":[],"returns":"void","signature":"yuiRetainedDependencyIndex()","description":"Yui retained dependency index.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"IndexKey","kind":"method","parameters":[{"name":"key","type":"text","description":"Key."},{"name":"scope","type":"text","description":"Scope."}],"returns":"text","signature":"IndexKey(text key, text scope) returns text","description":"Index key.","tags":["thing","method","ui"],"exampleId":"method-IndexKey-4","updated":"2026-09-09"},{"name":"IndexOf","kind":"method","parameters":[{"name":"key","type":"text","description":"Key."},{"name":"scope","type":"text","description":"Scope."}],"returns":"int","signature":"IndexOf(text key, text scope) returns int","description":"Index of.","tags":["thing","method","ui"],"exampleId":"method-IndexOf-5","updated":"2026-09-09"},{"name":"Subscribe","kind":"method","parameters":[{"name":"key","type":"text","description":"Key."},{"name":"scope","type":"text","description":"Scope."},{"name":"ownerId","type":"text","description":"Owner id."}],"returns":"bool","signature":"Subscribe(text key, text scope, text ownerId) returns bool","description":"Subscribe.","tags":["thing","method","ui"],"exampleId":"method-Subscribe-6","updated":"2026-09-09"},{"name":"HasOwner","kind":"method","parameters":[{"name":"key","type":"text","description":"Key."},{"name":"scope","type":"text","description":"Scope."},{"name":"ownerId","type":"text","description":"Owner id."}],"returns":"bool","signature":"HasOwner(text key, text scope, text ownerId) returns bool","description":"Has owner.","tags":["thing","method","ui"],"exampleId":"method-HasOwner-7","updated":"2026-09-09"},{"name":"AffectedOwnerCount","kind":"method","parameters":[{"name":"key","type":"text","description":"Key."},{"name":"scope","type":"text","description":"Scope."}],"returns":"int","signature":"AffectedOwnerCount(text key, text scope) returns int","description":"Affected owner count.","tags":["thing","method","ui"],"exampleId":"method-AffectedOwnerCount-8","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/render-50-retained-fragments.yh","line":457,"sha256":"1062403654e37b95d0b190990ad54290638b64d047aa164ee82220bd91ac0674"},"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 yuiRetainedDependencyIndex","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using ui\n\n// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.\nyuiRetainedDependencyIndex sample = yuiRetainedDependencyIndex()\nConsole.Log(Text.From(sample.diagnostic))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretaineddependencyindex\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\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 = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"eb25b0b0d4e562a2967449a8648b1ae719a0b36631b3670882ebe6f60c11aed4","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-IndexKey-4","title":"yuiRetainedDependencyIndex.IndexKey","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Index key.\nyuiRetainedDependencyIndex instance = yuiRetainedDependencyIndex()\ntext argument_key = \"argument key\"\ntext argument_scope = \"argument scope\"\ntext result = instance.IndexKey(argument_key, argument_scope)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretaineddependencyindex\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\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 = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"b5f72f60a6a1ad6b3904c77218cf700f67169c793fa2d7b9fbfcde90eb1863d5","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-IndexOf-5","title":"yuiRetainedDependencyIndex.IndexOf","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Index of.\nyuiRetainedDependencyIndex instance = yuiRetainedDependencyIndex()\ntext argument_key = \"argument key\"\ntext argument_scope = \"argument scope\"\nint result = instance.IndexOf(argument_key, argument_scope)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretaineddependencyindex\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\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 = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"b6db2df174586681799d33494cf46b093fbb5646c56085f6e9e9cae0fa7891c7","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Subscribe-6","title":"yuiRetainedDependencyIndex.Subscribe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Subscribe.\nyuiRetainedDependencyIndex instance = yuiRetainedDependencyIndex()\ntext argument_key = \"argument key\"\ntext argument_scope = \"argument scope\"\ntext argument_ownerId = \"argument owner Id\"\nbool result = instance.Subscribe(argument_key, argument_scope, argument_ownerId)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretaineddependencyindex\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\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 = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"aaad41d6cbd67119292a3e94d03b8a00ca6ac5686e3ef9c841f605db6520cbc7","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-HasOwner-7","title":"yuiRetainedDependencyIndex.HasOwner","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Has owner.\nyuiRetainedDependencyIndex instance = yuiRetainedDependencyIndex()\ntext argument_key = \"argument key\"\ntext argument_scope = \"argument scope\"\ntext argument_ownerId = \"argument owner Id\"\nbool result = instance.HasOwner(argument_key, argument_scope, argument_ownerId)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretaineddependencyindex\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\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 = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"b1a43cc2fb3097d21cca71ce32ccd798c7ee0974691ff82c63b8920d66561431","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-AffectedOwnerCount-8","title":"yuiRetainedDependencyIndex.AffectedOwnerCount","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Affected owner count.\nyuiRetainedDependencyIndex instance = yuiRetainedDependencyIndex()\ntext argument_key = \"argument key\"\ntext argument_scope = \"argument scope\"\nint result = instance.AffectedOwnerCount(argument_key, argument_scope)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretaineddependencyindex\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\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 = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"f7acca0cedf9cab2d7c7eb6d627638be50c75a1d43391ca53349550b6558f987","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["subscriptions","subscriptionIndex","diagnostic","yuiRetainedDependencyIndex","IndexKey","IndexOf","Subscribe","HasOwner","AffectedOwnerCount"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiRetainedDependencyIndex","json":"https://demonhunterlabs.com/reference/items/ui--yuiRetainedDependencyIndex.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiRetainedDependencyIndex.md"}
