@naturalcycles/nodejs-lib
Version:
Standard library for Node.js
10 lines (9 loc) • 405 B
TypeScript
/// <reference types="node" />
import { Writable } from 'stream';
import { TransformOpt } from '../stream.model';
/**
* 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?: TransformOpt): Writable;