()
| 42 | let inputEnded = stdin.readableEnded |
| 43 | let readlineActive = false |
| 44 | const onStdinEnd = () => { |
| 45 | inputEnded = true |
| 46 | if (!readlineActive) { |
| 47 | Queue.endUnsafe(lines) |
| 48 | } |
| 49 | } |
| 50 | stdin.once("end", onStdinEnd) |
| 51 | yield* Effect.addFinalizer(() => Effect.sync(() => stdin.off("end", onStdinEnd))) |
| 52 |
nothing calls this directly
no outgoing calls
no test coverage detected