function · world_indicators
channels
Lists world-indicator channels available to the calling package.
world_indicators.channels() -> channel[]
- Stable ID
world_indicators.channels- Owner
- app.ScriptPackageHost
- Authority
- read_only
- Timing
- immediate
- Availability
- Phase 14 package callbacks
- Side effects
- none
- Determinism
- Host-created package identity and per-callback budgets.
- Introduced
- 1.7.0
Usage
List the stable indicator channels visible to the calling package origin before showing controls for them.
Parameters
- None
Returns
Stable channel records with id, label, audience, development_only, and visible fields.
Cost
One bounded traversal of the compiled channel registry.
Fields
This symbol has no fields.
Errors
- None
Examples
for _, channel in ipairs(world_indicators.channels()) do
ui.row(channel.label, channel.visible and "Visible" or "Hidden")
end
API history
- 1.7.0: Bounded world-indicator channel discovery added.