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

Function close

packages/effect/test/Sink.test.ts:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 let closes = 0
21 const writable = new WritableStream<number>({
22 close() {
23 closes++
24 },
25 abort(reason) {
26 abortReason = reason
27 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected