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

Function construct

packages/platform/node-shared/test/NodeSink.test.ts:25–27  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

23 evaluate: () =>
24 new Writable({
25 construct(callback) {
26 callback()
27 },
28 write(chunk, _encoding, callback) {
29 items.push(chunk.toString())
30 callback()

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected