MCPcopy Create free account
hub / github.com/effect-app/libs / write

Function write

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

Source from the content-addressed store, hash-verified

26 callback()
27 },
28 write(chunk, _encoding, callback) {
29 items.push(chunk.toString())
30 callback()
31 },
32 destroy(_error, callback) {
33 destroyLatch.openUnsafe()
34 callback(null)

Callers

nothing calls this directly

Calls 3

pushMethod · 0.80
toStringMethod · 0.65
callbackFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…