Home > @rushstack/stream-collator > CollatedWriter > onClose
CollatedWriter.onClose() method
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Subclasses can override this empty method to perform additional operations such as closing a file handle.
Signature:
onClose(): void;
Returns:
void
Remarks
It is guaranteed that this method will be called at most once during the lifetime of a TerminalWritable
object.