diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index ccdf10d..266e1af 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartstream', - version: '3.0.32', + version: '3.0.33', description: 'simplifies access to node streams' } diff --git a/ts/smartstream.classes.smartduplex.ts b/ts/smartstream.classes.smartduplex.ts index 5f52fa6..5fc3351 100644 --- a/ts/smartstream.classes.smartduplex.ts +++ b/ts/smartstream.classes.smartduplex.ts @@ -34,11 +34,11 @@ export interface ISmartDuplexOptions extends DuplexOptions { * it can push or return chunks (but does not have to) to be written to the readable side of the stream */ writeFunction?: IStreamWriteFunction; + /** - * a final function that is being sent to the end of the stream + * a final function that is run at the end of the stream */ finalFunction?: IStreamFinalFunction; - // Add other custom options if necessary } export class SmartDuplex extends Duplex {