Skip to content

checkPingDataUpToDate

checkPingDataUpToDate(maxAgeSeconds): boolean

Checks whether ping data at most maxAgeSeconds old exists. If it does not, Steam starts a new measurement and this returns false. Needs init(). Only call it when you need a fresh measurement now, for example after a user request. Steam refreshes the data on its own.

number

The oldest acceptable age of the data, in seconds. Must be finite and not negative.

boolean

true when recent enough data already exists.

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.