SplitScript reference / Migration / MemoryWatcher
MemoryWatcher
Migration from ASL
Source pattern
Look for the ASL concept MemoryWatcher 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
Declare polled memory in state; use a trailing field if with value and return Err(message) when a transient candidate should retain its last accepted value.
Supported hosts
This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.
Related reference
-
state (language)