/node entrypoint installs an AsyncLocalStorage bridge for the current Effect context.
Use it when request-local Effect services, references, log annotations, or tracing context are created outside the oRPC pipeline and should be visible inside procedures.
Passive bridge
Import the Node entrypoint for continuity across internaleffect-orpc runtime boundaries.
entry.ts
Active bridge with withFiberContext
Use withFiberContext when framework middleware runs an outer Effect and then calls into oRPC.
middleware.ts
Priority rules
When captured request context and the application runtime both provide the same service,effect-orpc prioritizes the captured request context.
That makes the application runtime the base layer while request-local services, annotations, tracing context, or scoped overrides win for the current request.
When not to use it
You do not need the Node bridge if:- all request-local services are provided inside the
effect-orpcbuilder pipeline - you are not using Node
- you do not rely on request-local Effect context outside oRPC