14 lines
475 B
TypeScript
14 lines
475 B
TypeScript
/// <reference types="node" />
|
|
/// <reference types="node" />
|
|
import { Duplex } from "stream";
|
|
export declare class IOStream extends Duplex {
|
|
private impl;
|
|
private pending;
|
|
private cancellable;
|
|
constructor(impl: any);
|
|
_destroy(error: Error | null, callback: (error: Error | null) => void): Promise<void>;
|
|
_read(size: number): void;
|
|
_write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
|
|
private track;
|
|
}
|