2.0.4 • Published 6 months ago
@types/through2-concurrent v2.0.4
Installation
npm install --save @types/through2-concurrent
Summary
This package contains type definitions for through2-concurrent (https://github.com/almost/through2-concurrent).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/through2-concurrent.
index.d.ts
// Type definitions for through2-concurrent 2.0
// Project: https://github.com/almost/through2-concurrent
// Definitions by: Alorel <https://github.com/Alorel>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
import { TransformFunction, FlushCallback } from 'through2';
import { DuplexOptions, Transform as TransformStream } from 'stream';
declare function through2Concurrent(transform?: TransformFunction, flush?: FlushCallback): TransformStream;
declare function through2Concurrent(opts?: through2Concurrent.Through2ConcurrentOptions, transform?: TransformFunction, flush?: FlushCallback): TransformStream;
declare namespace through2Concurrent {
interface Through2ConcurrentOptions extends DuplexOptions {
maxConcurrency?: number | undefined;
}
function obj(transform?: TransformFunction, flush?: FlushCallback): TransformStream;
function obj(opts?: Through2ConcurrentOptions, transform?: TransformFunction, flush?: FlushCallback): TransformStream;
}
export = through2Concurrent;
Additional Details
- Last updated: Fri, 02 Jul 2021 19:37:03 GMT
- Dependencies: @types/through2, @types/node
- Global values: none
Credits
These definitions were written by Alorel.