(rl, query, options)
| 122 | const rl = readline.createInterface({ input: stdin, output: stdout }); |
| 123 | |
| 124 | const readlineQuestion = (rl, query, options) => new Promise((resolve, reject) => { |
| 125 | rl.question(query, options, resolve) |
| 126 | }); |
| 127 | |
| 128 | while(true) { |
| 129 | const question = await readlineQuestion(rl, '> ') |