UNPKG

@naturalcycles/nodejs-lib

Version:
9 lines (8 loc) 395 B
import { Writable } from 'node:stream'; import type { TransformOptions } from '../stream.model.js'; /** * Use as a "null-terminator" of stream.pipeline. * It consumes the stream as quickly as possible without doing anything. * Put it in the end of your pipeline in case it ends with Transform that needs a consumer. */ export declare function writableVoid(opt?: TransformOptions): Writable;