MCPcopy
hub / github.com/Effect-TS/effect / flush

Function flush

packages/effect/src/internal/stream/emit.ts:73–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 return true
72 }
73 function flush() {
74 running = false
75 if (buffer.length > 0) {
76 queue.unsafeOffer(buffer)
77 buffer = []
78 }
79 }
80 function done(exit: Exit.Exit<A, E>) {
81 if (finished) return
82 finished = true

Callers 2

doneFunction · 0.85
endFunction · 0.85

Calls 1

unsafeOfferMethod · 0.65

Tested by

no test coverage detected