Skip to content

missing close event documentation for fs streams #6484

Closed

Description

@mscdex
  • Version: all
  • Platform: n/a
  • Subsystem: doc

Currently there is only a mention of a close event in the streams' Readable section of the docs. However in the fs docs, it is not mentioned that either fs.ReadStream or fs.WriteStream are some of the special streams that do emit close, but in fact both of them do emit close.

So I recommend two things:

  1. Explicitly document close in the events sections for fs.ReadStream and fs.WriteStream.
  2. Either move the description/documentation about the close event from the streams.Readable section to earlier in the document and explain it can be emitted by any kind of stream or copy the event description to at least the streams.Writable section.

Activity

  1. added
    doc
    fs
    on Apr 30, 2016
  2. jasnell commented on Apr 30, 2016

    @jasnell
    Member

    @nodejs/documentation

  3. added
    doc
    and removed
    doc
    on Dec 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docfs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions