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

Function onLine

packages/platform/node-shared/src/NodeTerminal.ts:71–71  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

69 const stdin = getStdin()
70 const rl = readline.createInterface({ input: stdin, escapeCodeTimeout: 50 })
71 const onLine = (line: string) => Queue.offerUnsafe(lines, line)
72 const onClose = () => {
73 readlineActive = false
74 Queue.endUnsafe(lines)

Callers

nothing calls this directly

Calls 1

offerUnsafeMethod · 0.80

Tested by

no test coverage detected