Skip to main content
readonly clock: AgentHarnessClock

On the Agent Runtime

The runtime adapter builds the port from host, which carries the protected members of the Agent class.
  • now() calls the class’s now(). The task scheduler reads time through the same method, so an override of now() sets the time for both.

AgentHarnessClock

Host clock used by queue and schedule operations. Methods now()
now(): number
Returns number