functions-and-triggers

Installation
SKILL.md

Functions & Triggers

Comparable to: Serverless function runtimes, Lambda, Cloud Functions

Key Concepts

Use the concepts below when they fit the task. Not every worker needs all of them.

  • A Function is an async handler registered with a unique ID
  • A Trigger binds an event source to a function — types include http, queue, cron, state, stream, and subscribe
  • Functions invoke other functions via trigger() regardless of language or worker location
  • The engine handles serialization, routing, and delivery automatically
  • HTTP-invoked functions wrap external endpoints as callable function IDs

Architecture

SDK init connects the worker to the engine, registerFunction defines handlers, registerTrigger binds event sources to those handlers, and the engine routes incoming events to the correct function. Functions can invoke other functions across workers and languages via trigger().

iii Primitives Used

Related skills
Installs
3
Repository
iii-hq/skills
GitHub Stars
7
First Seen
Mar 23, 2026