Constructors
constructor
- new SafeStreamHandler(stream: Writable, name?: string): SafeStreamHandler
-
Parameters
-
stream: Writable
-
Optional
name: string
Properties
Protected
name
name: string
ready
ready: boolean = true
Protected
stream
stream: Writable
Methods
end
- end(...args: any): void
-
Returns void
write
- write(message: string): void
-
Returns void
Protected
writeStream
- writeStream(message: string): void
-
Returns void
A handler for writable streams that only writes if the stream has finished processing or draining