A Node stream like /dev/null.

Writing goes to a black hole, reading returns EOF.

Hierarchy

  • Duplex
    • DevNullStream

Constructors

Methods

Constructors

Methods

  • Parameters

    • chunk: any
    • encoding: string
    • callback: ((err?) => void)
        • (err?): void
        • Parameters

          • Optional err: Error

          Returns void

    Returns void