effect-orpc/node entrypoint installs a Node AsyncLocalStorage bridge for the current Effect context.
side-effect-import.ts
withFiberContext
import.ts
withFiberContext(fn) captures the current Effect context and runs an async callback inside the Node bridge.
with-fiber-context.ts
When to import
| Need | Import |
|---|---|
Passive bridge across split effect-orpc runtime boundaries | import "effect-orpc/node" |
| Capture outer Effect request context before calling framework continuation | import { withFiberContext } from "effect-orpc/node" |