Level 1M12Lesson 12.3

beginner45 minby DevFox

Interactive input with readline

Make TaskKit ask for its tasks while it runs. Ask a question with readline and wait for the answer with await, see why every answer arrives as a string and why a program that never closes its reader never ends, keep asking until an empty line, and give TaskKit an interactive mode: npm start add with nothing after it asks for the tasks one by one.

  • Fundamentals
  • TypeScript
Interactive input with `readline`. Read this lesson at .