Glossary
Look up terms used in the Logic SDK manual.
Each term has one meaning in this manual. Link to a term with /docs/reference/glossary#<term>.
A
- Action
A function with access to services that can run any function.
- Adapter
Code that connects the core to one technology, such as a database or queue.
- AppError
The class for an expected failure, with a kind, code, message, and optional details.
- Attempt
One try to run a job.
A check that uses a policy or a record rule.
C
- Call
One run of a function, with its input.
- Caller
An object that runs functions as a scope.
- Code
An identifier for an error, such as
bookings.datesUnavailable.- Commit
End a transaction and save its changes.
- Config
Plain settings the registry supplies through
ctx.config.- Cron
A definition for scheduled work as a declared scope.
- Ctx
The object a handler receives first.
D
- Database
The store that queries read and mutations change.
- Definer
An API that creates a definition.
- Definition
A function, event, listener, cron, or error object.
- Delivery
A job that runs one listener for one event.
- Details
Optional data an
AppErrorcarries.
E
- Emit
Put an event in a transaction for delivery after commit.
- Error
An expected failure represented by an
AppErrorwith a kind and a code.- Event
A record that a mutation emits for listeners.
- Exception
An unexpected value that code throws.
F
- Feature flag
A setting that controls whether a feature is available.
- Function
A definition made with
query,mutation, oraction.
H
- Handler
The async code that does a definition’s work.
- Host
Code that converts a platform signal into an SDK operation.
I
- ID
A definition’s registered name, with its module key.
- Input
Data a caller passes to run a function.
- Integration
Code that connects the SDK to AI SDK, oRPC, or HTTP.
- Internal function
A registered function outside the public API.
J
- Job
One listener delivery, scheduled call, or cron run.
K
- Kind
A category of definition or raised error.
L
- Lease
A time limit on a runner’s claim to a job.
- Listener
A definition that reacts to an event after commit.
M
- Meta
App-defined data about a definition.
- Module
Definitions that share a key in the registry.
- Mutation
A function that writes in a transaction.
N
- Nested call
A call started through
ctx.run.
O
- Outbox
An adapter that stores jobs in a transaction and signals a queue after commit.
- Output
The value a caller receives from a function.
P
- Payload
Data an event carries.
- Platform
Infrastructure for the app, such as Node, Workers, or Postgres.
- Policy
A synchronous check that allows a call by returning
truefor the scope.- Private function
An unregistered function that runs through
ctx.run.- Publish
Make a function available through a route, procedure, or tool.
Q
- Query
A function that reads data and can run other queries.
- Queue
A named group of jobs.
R
- Record rule
A check on what the caller may do with a record.
- Registry
The object that collects definitions, makes callers, and manages jobs.
- Roll back
End a transaction without saving its changes.
- Run
Make a function execute with
caller.runorctx.run.
S
- Schema
A Standard Schema that checks or transforms data.
- Scope
App-defined data for who runs a call and where.
- Services
Dependencies for side effects in actions, listeners, and crons.
- Side effect
An operation outside the transaction, such as sending email.
- System scope
An app-defined scope for work on the app’s behalf.
T
- Transaction
A group of database operations that commit or roll back together.
V
- Validation
The check that data matches a schema.
W
- Worker
A process or platform handler that takes and runs jobs.