찾다

 >  Q&A  >  본문

node.js - nodejs中event如何获取listener函数的返回值?

代码如下,请指教:

stream = evt.on('connection', (stream) => {
  console.log('someone connected!');
  return stream + 1;
});
黄舟黄舟2873일 전392

모든 응답(0)나는 대답할 것이다

답장 없음
  • 취소회신하다