How-to
How-to guides
Task-oriented walkthroughs that combine several features to get a job done.
How-to guides are short, goal-first recipes. Where the manual tours the language feature by feature, each of these starts from something you want to get done and shows the code to do it.
They’re grouped into five themes, listed in the sidebar:
- Model & validate data: records, validation, money, regex, and querying a data table.
- Save, move & evolve state: persistence, surviving snapshots, and cluster-wide config.
- Talk to the outside world: files, HTTP, UDP, config files, environment, and CLI arguments.
- Concurrency & actors: running work in parallel and passing messages between systems.
- Build, test & embed: making scripts fast, testing, writing agent tools, and embedding SCUA in a host.
Pick a topic from the sidebar to jump in.