SplitScript reference / Migration / Monotonic delays and debouncing
Monotonic delays and debouncing
Migration from ASL, C#
Source pattern
Look for the ASL, C# concept Monotonic delays and debouncing 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
Replace elapsed-time uses of DateTime.Now or Stopwatch with an Instant captured at the source event and an exact Duration comparison.
Supported hosts
This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.