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

Function transform

packages/platform/node-shared/test/NodeStream.test.ts:28–30  ·  view source on GitHub ↗
(chunk, _encoding, callback)

Source from the content-addressed store, hash-verified

26 evaluate: () =>
27 new Transform({
28 transform(chunk, _encoding, callback) {
29 callback(null, chunk.toString().toUpperCase())
30 }
31 }),
32 onError: () => "error" as const
33 })),

Callers

nothing calls this directly

Calls 2

toStringMethod · 0.65
callbackFunction · 0.50

Tested by

no test coverage detected