iii-core-primitives
Installation
SKILL.md
Core Primitives
iii has three primitives:
- Worker: a process that connects to the engine, registers functions, and calls them
- Function: a named unit of work such as
orders::validate; any worker runs it withcall - Observer:
iii.observe(a, b): whenaruns,bruns
Everything is reactive. An HTTP request, a cron tick, a queue message, and a state change are each a
call of a source function (http::on-request, cron::on-tick, 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.