Skip to main content
makeEffectORPC creates an Effect-aware oRPC builder.
import.ts

With a Layer

Pass a Layer directly when per-call acquisition is acceptable.
layer.ts
This is equivalent in lifecycle terms to makeEffectORPC().provide(AppLive) or eos.provide(AppLive).

With a ManagedRuntime

managed-runtime.ts
Use this when the application owns runtime acquisition and shutdown. A caller-owned runtime is the right choice for scoped resources that should stay open across requests, such as database pools or telemetry SDKs.

With an existing builder

existing-builder.ts
Use this when you already have oRPC builder configuration and want to add Effect support.

With defaults

default.ts
This is equivalent in spirit to using eos.

See also

Last modified on June 15, 2026