MCPcopy Index your code
hub / github.com/nodejs/node / completer

Function completer

test/parallel/test-readline-interface.js:221–221  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

219// \t does not become part of the input when there is a completer function
220{
221 const completer = (line) => [[], line];
222 const [rli, fi] = getInterface({ terminal: true, completer });
223 rli.on('line', common.mustCall((line) => {
224 assert.strictEqual(line, 'foo');

Callers 1

InterfaceFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…