Loading...
Loading...
Builds composable, pipeable function chains on the iii engine. Use when building functional pipelines, effect systems, or typed composition layers where each step is a pure function with distributed tracing and retry.
npx skill4agent add iii-hq/skills iii-effect-systemtriggerHTTP request
→ fx::parse-user-input (validate + normalize)
→ fx::enrich (add metadata, lookup external data)
→ fx::persist (write to state)
→ fx::notify (fire-and-forget side effect)
← composed result returned to caller| Primitive | Purpose |
|---|---|
| Initialize the worker and connect to iii |
| Define each effect |
| Compose effects synchronously |
| Fire-and-forget side effects |
| Persist data between effects |
| Entry point |
registerWorker(url, { workerName })trigger({ function_id, payload })registerFunctionfx::trigger({ ..., action: TriggerAction.Void() })const logger = new Logger()triggerTriggerAction.Enqueue({ queue })triggerfx::validate-emailfx::geocode-addressiii-workflow-orchestrationiii-agentic-backendiii-effect-systemiii-effect-system