About node.js input stream process.stdin

The

code is as follows:
remarks stdin = process.stdin;

clipboard.png

question:
stdin.on ("data",.)
this function will be triggered several times every time I enter it.

Mar.14,2021

see that you have written return in a function. I guess you must have called this function
every time you typed. Then you will register
so once and you will trigger

if you type in several times.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3d5dc-34754.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3d5dc-34754.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?