Quiz Challenges
100
Question 82 of 100
82%
82
In Node.js, what happens when you attach a 'data' event listener to a Readable stream that is currently paused?
A
The stream stays paused until .resume() is called explicitly, even with a 'data' listener attached
B
Attaching a 'data' listener throws an error unless the stream was created with { objectMode: true }
C
The stream is automatically switched into flowing mode and starts emitting 'data' events as chunks become available
D
The stream buffers all data in memory indefinitely and never emits 'data' events
Submit Answer
Previous
82
/
100
Next