loadIcon
loadIcon(
achievement,timeoutMs?):Promise<AchievementIcon|null>
Like getIcon(), but waits for Steam to fetch the icon. Steam answers inside runCallbacks(), which init() already runs on a timer.
Parameters
Section titled “Parameters”achievement
Section titled “achievement”string
The achievement API name as configured in Steamworks.
timeoutMs?
Section titled “timeoutMs?”number | null
how long to wait, in milliseconds; defaults to 5000
Returns
Section titled “Returns”Promise<AchievementIcon | null>
the icon, or null when it is still missing after the timeout (no icon is set, or Steam is slow). The two cases cannot be told apart.
Turn ideas into shipped software.
HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.
- Smart
- OpenSpec workflows turn intent into a path from proposal to shipped change.
- Efficient
- Multi-agent execution runs research, build, and review in parallel.
- Fun
- Rich UI interactions make planning, agent work, and projects easier to follow.
© 2026 HagiCode | Powered By hagilight-starlight@0.23.0 | Branch: main | Commit: 7164ec7 | Built:
