SplitScript reference / Migration / Current timer split index

Current timer split index

Migration from ASL

Source pattern

Look for the ASL concept Current timer split index in the source. The semantic difference below is more important than a token-for-token rewrite.

Canonical SplitScript

Use the canonical language and API symbols linked below.

Semantic difference

Call timer.currentSplitIndex() and handle its optional u64 result so the host's negative no-attempt sentinel cannot become a route index.

Supported hosts

This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.