Effect Cloudflare Event API
A production-shaped Effect 4 beta API for Cloudflare Workers. It includes schema-validated HTTP boundaries, branded identifiers, tagged domain and infrastructure errors, Context.Service modules, explicit Layer composition, KV persistence, traced service functions, structured logs, waitUntil background work, and an Alchemy stack with local development and observability.
npx shadcn@latest add @compronents/effect-cloudflare-event-apiInstalls from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.
outcome
request
service
response
A schema validates the HTTP boundary, a traced service runs, KV persists, and waitUntil finishes background work after the response is sent.
Checking access…