Skip to content

流(Stream) #5

Description

@coxo

流(Stream)是可读,可写或双工的。

可以通过require('stream')加载流的基类,其中包括四类流,

  • Readable 流
  • Writable 流
  • Duplex 流
  • Transform流的基类

另外如果觉得上述四类基类流不能满足需求,可以编写自己的扩充类流。
像我的BearStream。

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions