node readable streamデータ読み出し方式
A Readable stream will not start emating data until you indicate that you are ready to receive it.
Readable strems have two“modes”:a flowingモード and a paused mode.When in flowing mode,data is read from the undering system and provided to your program as fast as possible.In paused mode,you must explicitlycal
Note:If no data event handles are atached,and there are no
nodeのrequestのデータはここから来ました.
Readable strems have two“modes”:a flowingモード and a paused mode.When in flowing mode,data is read from the undering system and provided to your program as fast as possible.In paused mode,you must explicitlycal
stream.read()
トget chunks of data out.Streams start out in paused mode.Note:If no data event handles are atached,and there are no
pipe()
destinations、and the stream is switch into flowing mode、then data will be lost.nodeのrequestのデータはここから来ました.