Skip to content

doc: description for chunks in _writev in stream_writable #36789

@codati

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 (:

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions