2014年8月1日

node中的Readable - flowing/non-flowing mode

摘要: 大家都知道在node中ReadableStream有两种模式:flowing mode和non-flowing mode。对于flowing mode的ReadableStream, 我们是没法控制它何时去读数据读多少的,它会去尽快的去消耗data,并emit出来。1 // in lib/_stre... 阅读全文

posted @ 2014-08-01 22:04 dvilla 阅读(482) 评论(0) 推荐(0) 编辑

导航