Skip to content

doc: description for chunks in _writev in stream_writable #36789

Description

@codati

📗 API Reference Docs Problem

  • Version: v12.18.3
  • Platform: 5.9.0-5-amd64 #1 SMP Debian 5.9.15-1 (2020-12-17) x86_64 GNU/Linux
  • Subsystem: stream

Location

Affected URL(s):

Description

descrition of params chunks does not correspond to what gives me a console.log

[
  {
    chunk: <Buffer ff ff>,
    encoding: 'buffer',
    callback: [Function: nop],
    next: {
      chunk: <Buffer ff ff>,
      encoding: 'buffer',
      callback: [Function: nop],
      next: [Object]
    }
  },
  {
    chunk: <Buffer ff ff>,
    encoding: 'buffer',
    callback: [Function: nop],
    next: {
      chunk: <Buffer ff ff>,
      encoding: 'buffer',
      callback: [Function: nop],
      next: [Object]
    }
  },
  {
    chunk: <Buffer ff ff>,
    encoding: 'buffer',
    callback: [Function: nop],
    next: {
      chunk: <Buffer ff ff>,
      encoding: 'buffer',
      callback: [Function: nop],
      next: null
    }
  },
  {
    chunk: <Buffer ff ff>,
    encoding: 'buffer',
    callback: [Function: nop],
    next: null
  },
  allBuffers: true
]

I can call callback in chunks object? or call callback in 2nd parameter?
What is allBuffers?

thank you for taking the time to read my request (:

Activity

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

    docIssues and PRs related to Node.js documentation.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions