Using `Effect.fnUntraced` with `RpcMiddleware.layerClient` vs. `RpcGroup` Compatibility Issues

RpcMiddleware.layerClient can take an Effect.fnUntraced(function* ({ request }) { ... } as the second argument instead of () => Effect.gen(function* () {}).
It does not work with RpcGroup's toLayerHandler, the type of the arguments of Effect.fnUntraced is any.
Was this page helpful?