@push.rocks/smartstream 3.0.32 → 3.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@push.rocks/smartstream',
|
|
6
|
-
version: '3.0.
|
|
6
|
+
version: '3.0.33',
|
|
7
7
|
description: 'simplifies access to node streams'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx5QkFBeUI7SUFDL0IsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLG1DQUFtQztDQUNqRCxDQUFBIn0=
|
|
@@ -31,7 +31,7 @@ export interface ISmartDuplexOptions<TInput, TOutput> extends DuplexOptions {
|
|
|
31
31
|
*/
|
|
32
32
|
writeFunction?: IStreamWriteFunction<TInput, TOutput>;
|
|
33
33
|
/**
|
|
34
|
-
* a final function that is
|
|
34
|
+
* a final function that is run at the end of the stream
|
|
35
35
|
*/
|
|
36
36
|
finalFunction?: IStreamFinalFunction<TOutput>;
|
|
37
37
|
}
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
|
@@ -34,11 +34,11 @@ export interface ISmartDuplexOptions<TInput, TOutput> extends DuplexOptions {
|
|
|
34
34
|
* it can push or return chunks (but does not have to) to be written to the readable side of the stream
|
|
35
35
|
*/
|
|
36
36
|
writeFunction?: IStreamWriteFunction<TInput, TOutput>;
|
|
37
|
+
|
|
37
38
|
/**
|
|
38
|
-
* a final function that is
|
|
39
|
+
* a final function that is run at the end of the stream
|
|
39
40
|
*/
|
|
40
41
|
finalFunction?: IStreamFinalFunction<TOutput>;
|
|
41
|
-
// Add other custom options if necessary
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
export class SmartDuplex<TInput = any, TOutput = any> extends Duplex {
|