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

Function duplex

packages/effect/src/http/FetchHttpClient.ts:97–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 method: "POST",
96 body,
97 get duplex() {
98 duplexAccessed = true
99 return "half"
100 }
101 } as globalThis.RequestInit)
102 // Bun and Deno preserve the stream without reading the duplex option.
103 return (duplexAccessed || request.body === body) && !request.headers.has("Content-Type")

Callers 1

Ndjson.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected