Start Here
Start Here
Install better-effect, learn the shape of a program, and choose your next guide.
better-effect is a small TypeScript architecture for better-result workflows. Start with the
short path below: define a Service, compose a Layer, run the program, and let Scope own anything
that needs cleanup.
Getting Started
Build and run a complete typed application with one Service and one Runtime.
Mental ModelSee how Effects, Layers, Runtime and Scope fit together before you go deeper.
Durable jobsAdd queues and workers when background work needs a durable home.
Choose a path
- I am new to better-effect: read Getting Started, then Services.
- I need a durable queue: begin with MQ, then pick a storage adapter in Integrations and adapters.
- I am integrating an existing system: open Integrations and adapters and choose the boundary you already operate.
- I need reliable post-commit publishing: read the Outbox guide.
The docs use one vocabulary throughout. Application code defines jobs and handlers with
better-effect-mq; adapters only provide persistence through Layers.