MCPcopy Create free account
hub / github.com/Effect-TS/effect / body

Function body

packages/effect/src/unstable/rpc/RpcServer.ts:1462–1468  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1460 return Effect.whileLoop({
1461 while: () => i < decoded.length,
1462 body() {
1463 const message = decoded[i++]
1464 if (message._tag === "Request" && headers) {
1465 ;(message as Types.Mutable<RequestEncoded>).headers = headers.concat(message.headers)
1466 }
1467 return writeRequest(id, message)
1468 },
1469 step: constVoid
1470 })
1471 } catch (cause) {

Callers 5

transactionMethod · 0.50
Effect.tsFile · 0.50
pickInternalCallFunction · 0.50
functionFunction · 0.50
Function.tsFile · 0.50

Calls

no outgoing calls

Tested by 1

transactionMethod · 0.40