iii-core-primitives
Installation
SKILL.md
Core Primitive: the Function
iii has one primitive, the Function: a named unit of work such as orders::validate. There are
two operators:
- call: any worker runs a function now with
call - observe:
iii.observe(a, b): whenaruns,bruns
Workers host functions. A worker is a process that connects to the engine, registers functions, and calls and observes them.
Everything is reactive. An HTTP request, a database write, a queue message, and a state change are each a
call of a source function (http::on-request, database::on-row-changed, queue::on-message,
state::on-changed), so observing that function is how work starts on the event. See iii-observe.
Use :: in function IDs, leading slashes in HTTP path args, and expression for cron args.