better-effect
Integrations and adapters

Integrations and adapters

Connect better-effect to HTTP, web frameworks, databases, and durable MQ storage.

Integrations keep their host library's boundary intact. They provide Services or Layers that your composition root owns; they do not create a second application runtime or move business logic into a container.

Pick the boundary you own

Use Web and framework adapters for request lifetimes, Schema for explicit decoding, and Backends when you need to understand resolver ownership. For queues, start with MQ before selecting a database adapter.

On this page