Directories
¶
| Path | Synopsis |
|---|---|
|
The smallest possible machine: three states cycling on a single action.
|
The smallest possible machine: three states cycling on a single action. |
|
A vending machine: actions with payloads and every way a machine says no.
|
A vending machine: actions with payloads and every way a machine says no. |
|
A job that retries on failure: error-driven flow and terminal states.
|
A job that retries on failure: error-driven flow and terminal states. |
|
A download with live observers: every Wait notification pattern.
|
A download with live observers: every Wait notification pattern. |
|
Racing goroutines: exactly-once claim, first Do wins.
|
Racing goroutines: exactly-once claim, first Do wins. |
|
Command cardgame demonstrates ella.to/state with a 4-player trick-taking game.
|
Command cardgame demonstrates ella.to/state with a 4-player trick-taking game. |
|
Async work owned by a state: Enter runs the fetch, transitions cancel it.
|
Async work owned by a state: Enter runs the fetch, transitions cancel it. |
|
Timers: states that advance themselves after a dwell.
|
Timers: states that advance themselves after a dwell. |
|
Search-as-you-type: one activity serving many queries, stale results dropped, in-flight fetches canceled.
|
Search-as-you-type: one activity serving many queries, stale results dropped, in-flight fetches canceled. |
|
A supervision tree: a pool machine spawns one worker machine per task, workers report progress up while they run, and stopping the pool halts every worker — recursively, and without any bookkeeping.
|
A supervision tree: a pool machine spawns one worker machine per task, workers report progress up while they run, and stopping the pool halts every worker — recursively, and without any bookkeeping. |
|
A three-step pipeline driven by child machines: each parent step hands its payload to a fresh child machine, and the child completing is what advances the parent to the next step.
|
A three-step pipeline driven by child machines: each parent step hands its payload to a fresh child machine, and the child completing is what advances the parent to the next step. |
|
A durable order: Trace journals every transition, and a snapshot survives a process restart because Run is also resume.
|
A durable order: Trace journals every transition, and a snapshot survives a process restart because Run is also resume. |
Click to show internal directories.
Click to hide internal directories.