I got from an AI agent the following answer, about a feature that probably was pulled out, from the last JKI SM (2024) version.
Q: How can I delay by N [sec], a state's execution, without blocking other running states or events ?
A: Use the following syntax: "My Delayed State" & " >> " & string(N * 1000)
When you send a string formatted as State Name >> 10000 to the JKI SM queue, the JKI engine does not execute that state immediately.
Instead, it parses the >> delimiter, extracts the time value (in milliseconds), removes the state from the active execution queue, and places it into an internal "Snooze" buffer.
Every time the state machine finishes a state and loops back, it checks the millisecond timer of the items in this snooze buffer.
Once the delay time has fully elapsed, the engine automatically moves the state back into the active queue to be executed.
The AI also stated, that even Canceling of a delayed state was possible and provided instructions.
So, my question is: The "snooze" feature did it existed and was removed or AI completely hallucinates ?
Apparently, it is very useful feature
I got from an AI agent the following answer, about a feature that probably was pulled out, from the last JKI SM (2024) version.
Q: How can I delay by N [sec], a state's execution, without blocking other running states or events ?
A: Use the following syntax: "My Delayed State" & " >> " & string(N * 1000)
When you send a string formatted as State Name >> 10000 to the JKI SM queue, the JKI engine does not execute that state immediately.
Instead, it parses the >> delimiter, extracts the time value (in milliseconds), removes the state from the active execution queue, and places it into an internal "Snooze" buffer.
Every time the state machine finishes a state and loops back, it checks the millisecond timer of the items in this snooze buffer.
Once the delay time has fully elapsed, the engine automatically moves the state back into the active queue to be executed.
The AI also stated, that even Canceling of a delayed state was possible and provided instructions.
So, my question is: The "snooze" feature did it existed and was removed or AI completely hallucinates ?
Apparently, it is very useful feature