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

Function evaluate

packages/platform/node/src/NodeMultipart.ts:43–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 Effect.map((config) =>
42 NodeStream.fromReadable<MP.Part, Multipart.MultipartError>({
43 evaluate() {
44 const parser = MP.make(config)
45 source.pipe(parser)
46 return parser as any
47 },
48 onError: (error) => convertError(error as any)
49 })
50 ),

Callers 2

NodeHttpServer.tsFile · 0.70
collectAsyncIterableFunction · 0.50

Calls 2

makeMethod · 0.65
pipeMethod · 0.65

Tested by

no test coverage detected