@naturalcycles/nodejs-lib
Version:
Standard library for Node.js
9 lines (8 loc) • 395 B
TypeScript
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;