main
Last change
on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
557 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | /// <reference types="node" />
|
---|
| 2 | import { Handler, ParserOptions } from "./Parser";
|
---|
| 3 | import { Writable } from "stream";
|
---|
| 4 | /**
|
---|
| 5 | * WritableStream makes the `Parser` interface available as a NodeJS stream.
|
---|
| 6 | *
|
---|
| 7 | * @see Parser
|
---|
| 8 | */
|
---|
| 9 | export declare class WritableStream extends Writable {
|
---|
| 10 | private readonly _parser;
|
---|
| 11 | private readonly _decoder;
|
---|
| 12 | constructor(cbs: Partial<Handler>, options?: ParserOptions);
|
---|
| 13 | _write(chunk: string | Buffer, encoding: string, cb: () => void): void;
|
---|
| 14 | _final(cb: () => void): void;
|
---|
| 15 | }
|
---|
| 16 | //# sourceMappingURL=WritableStream.d.ts.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.